diff --git a/install.sh b/install.sh index 3bc0821..8f7859b 100644 --- a/install.sh +++ b/install.sh @@ -2,6 +2,10 @@ sudo modprobe dm-crypt sudo modprobe dm-mod +# Figure out how much RAM the system has an set a variable +# ramTotal=$(grep MemTotal /proc/meminfo | awk '{print $2 / 1024 / 1024}') +ramTotal=$(free | awk '/^Mem:/{print $2 / 1024 / 1024}' | awk -F. {'print$1'}) + # Detect and list the drives. lsblk -f