sys/ram
This commit is contained in:
parent
4d2f6d5530
commit
3558493091
1 changed files with 8 additions and 6 deletions
|
@ -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
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue