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:
cinap_lenrek 2014-09-21 18:28:35 +02:00
parent c145a2c0aa
commit 59ab557f31

View file

@ -15,7 +15,7 @@ fn print{
logprog cat '#c/config'
logprog cat '#c/swap'
logprog cat '#c/sysstat'
logprog awk '/^Plan 9$/{p=1}
logprog awk '/^Plan 9/{p=1}
/^init: starting/{exit}
{if(p)print}' '#c/kmesg'
logprog pci -v