mirror of
https://gitlab.com/ahoneybun/nyxi-installer.git
synced 2025-05-12 11:04:02 -06:00
Fix ramTotal value
This commit is contained in:
parent
75c859f33e
commit
55f3f12eec
1 changed files with 4 additions and 0 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue