mirror of
https://gitlab.com/ahoneybun/nyxi-installer.git
synced 2025-05-12 02:54:03 -06:00
Update install.sh
This commit is contained in:
parent
9444ced2f1
commit
bf4516895d
1 changed files with 2 additions and 1 deletions
|
@ -1,5 +1,6 @@
|
|||
# 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.
|
||||
lsblk -f
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue