From 355849309126c8809b3399e6bd3ec6ec9ad21d2b Mon Sep 17 00:00:00 2001 From: Marc Beninca Date: Sat, 2 Dec 2023 17:45:59 +0100 Subject: [PATCH] sys/ram --- live/source/sys.sh | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/live/source/sys.sh b/live/source/sys.sh index 183b313..c3890f5 100644 --- a/live/source/sys.sh +++ b/live/source/sys.sh @@ -5,9 +5,10 @@ function sys_set { smbios --set sys_serial --type 1 --get-string 7 smbios --set sys_uuid --type 1 --get-uuid 8 smbios --set sys_cpu --type 4 --get-string 16 - smbios --set sys_ram_max --type 16 --get-dword 7 - smbios --set sys_ram --type 19 --get-dword 8 - smbios --set sys_ram_dev --type 19 --get-byte 14 + smbios --set sys_ram_max_kb --type 16 --get-dword 7 + smbios --set sys_ram_max_nb --type 16 --get-word 13 + smbios --set sys_ram_kb --type 19 --get-dword 8 + smbios --set sys_ram_nb --type 19 --get-byte 14 } function sys_unset { @@ -16,7 +17,8 @@ function sys_unset { unset sys_serial unset sys_uuid unset sys_cpu - unset sys_ram_max - unset sys_ram - unset sys_ram_dev + unset sys_ram_max_kb + unset sys_ram_max_nb + unset sys_ram_kb + unset sys_ram_nb }