ref: 59ab557f31068c91492af16d73ab9b3628ead21d
parent: c145a2c0aaa4458b6128f17a05a5e4701cb11929
author: cinap_lenrek <cinap_lenrek@felloff.net>
date: Sun Sep 21 14:28:35 EDT 2014
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.
--- a/rc/bin/sysinfo
+++ b/rc/bin/sysinfo
@@ -15,7 +15,7 @@
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