sysinfo: only dump #r/nvram on amd64,386
right now, theres no kernel that stores hostowner keys in #r/nvram, but this could change in the future. so only dump #r/nvram on the pc where we know that its not used to hold keys.
This commit is contained in:
parent
ddf977d25c
commit
541e211b7c
1 changed files with 8 additions and 4 deletions
|
@ -21,6 +21,7 @@ fn print{
|
|||
logprog pci -v
|
||||
logprog aux/cpuid
|
||||
logprog aux/icanhasmsi
|
||||
logprog aux/icanhasvmx
|
||||
logprog aux/pcmcia
|
||||
logprog cat '#u/usb/ctl'
|
||||
logprog cat '#S/sdctl'
|
||||
|
@ -33,9 +34,12 @@ fn print{
|
|||
logprog cat $i/ifstats
|
||||
}
|
||||
}
|
||||
if(test -e '#v/vgactl'){
|
||||
logprog cat '#v/vgactl'
|
||||
echo '@{rfork n; aux/realemu; aux/vga -p}'
|
||||
@{rfork n; aux/realemu; aux/vga -p}
|
||||
}
|
||||
if(~ $cputype 386 amd64)
|
||||
logprog xd -x1 '#r/nvram'
|
||||
logprog cat '#A/audiostat'
|
||||
logprog cat '#A/volume'
|
||||
|
|
Loading…
Reference in a new issue