summaryrefslogtreecommitdiff
path: root/rc
diff options
context:
space:
mode:
authorcinap_lenrek <cinap_lenrek@felloff.net>2014-09-21 18:28:35 +0200
committercinap_lenrek <cinap_lenrek@felloff.net>2014-09-21 18:28:35 +0200
commit59ab557f31068c91492af16d73ab9b3628ead21d (patch)
tree18344de8d9b0d450739b4d0b071bed7928919658 /rc
parentc145a2c0aaa4458b6128f17a05a5e4701cb11929 (diff)
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.
Diffstat (limited to 'rc')
-rwxr-xr-xrc/bin/sysinfo2
1 files changed, 1 insertions, 1 deletions
diff --git a/rc/bin/sysinfo b/rc/bin/sysinfo
index 814247723..487958501 100755
--- a/rc/bin/sysinfo
+++ b/rc/bin/sysinfo
@@ -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