Cleanup bash imports/sources, function definitions, and variables

This commit is contained in:
Jason Ertel
2020-12-11 15:33:27 -05:00
parent e4eea6a616
commit bb61c1f745
5 changed files with 59 additions and 63 deletions

View File

@@ -1,5 +1,7 @@
#!/bin/bash
SOVERSION=$(cat ../VERSION)
total_mem=$(grep MemTotal /proc/meminfo | awk '{print $2}' | sed -r 's/.{3}$//')
export total_mem