Update install.sh

This commit is contained in:
Aaron Honeycutt 2022-05-17 13:52:53 +00:00
parent 8e52a73991
commit bcc79aea20

View file

@ -1,6 +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=$(grep MemTotal /proc/meminfo | awk '{print $2 / 1024 / 1024}') # ramTotal=$(grep MemTotal /proc/meminfo | awk '{print $2 / 1024 / 1024}')
ramTotal=$(free | awk '/^Mem:/{print $2 / 1024 / 1024}' | awk -F. {'print$1'}) ramTotal=$(free -h | awk '/^Mem:/{print $2}'| awk -FG {'print$1'})
# Detect and list the drives. # Detect and list the drives.
lsblk -f lsblk -f