Update install.sh

This commit is contained in:
Aaron Honeycutt 2022-05-19 15:32:59 +00:00
parent 9444ced2f1
commit bf4516895d

View file

@ -1,5 +1,6 @@
# Figure out how much RAM the system has an set a variable # Figure out how much RAM the system has an set a variable
ramTotal=$(free -h | awk '/^Mem:/{print $2}'| awk -FG {'print$1'}) # ramTotal=$(free -h | awk '/^Mem:/{print $2}'| awk -FG {'print$1'})
ramTotal=$(free | awk '/^Mem:/{print $2 / 1024 / 1024}' | awk -F. {'print$1'})
# Detect and list the drives. # Detect and list the drives.
lsblk -f lsblk -f