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:
cinap_lenrek 2017-08-08 10:16:13 +02:00
parent ddf977d25c
commit 541e211b7c

View file

@ -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'