sysinfo: relax regex for start of kernel boot messages
we used to look for /^Plan 9$/ for the start of kernel boot messages in /dev/kmesg. but the xen kernel prints Plan 9 (.....) on boot. so just look for line starting with /^Plan 9/ for now.
This commit is contained in:
parent
c145a2c0aa
commit
59ab557f31
1 changed files with 1 additions and 1 deletions
|
@ -15,7 +15,7 @@ fn print{
|
||||||
logprog cat '#c/config'
|
logprog cat '#c/config'
|
||||||
logprog cat '#c/swap'
|
logprog cat '#c/swap'
|
||||||
logprog cat '#c/sysstat'
|
logprog cat '#c/sysstat'
|
||||||
logprog awk '/^Plan 9$/{p=1}
|
logprog awk '/^Plan 9/{p=1}
|
||||||
/^init: starting/{exit}
|
/^init: starting/{exit}
|
||||||
{if(p)print}' '#c/kmesg'
|
{if(p)print}' '#c/kmesg'
|
||||||
logprog pci -v
|
logprog pci -v
|
||||||
|
|
Loading…
Reference in a new issue