Update install.sh

This commit is contained in:
Aaron Honeycutt 2022-05-19 15:56:24 +00:00
parent bf4516895d
commit 22027083ce

View file

@ -1,6 +1,5 @@
# 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