diff options
author | Rob Landley <rob@landley.net> | 2020-10-24 17:44:09 -0500 |
---|---|---|
committer | Rob Landley <rob@landley.net> | 2020-10-24 17:44:09 -0500 |
commit | bc46bc619fcd83c3e85b054042577c95d1511484 (patch) | |
tree | 5448f42f6ce4b16c4f069890e863d0e39fff6ef6 /scripts | |
parent | 83d1ddc8ed3039ad4a6b9d32aa716bc8ab625c08 (diff) | |
download | toybox-bc46bc619fcd83c3e85b054042577c95d1511484.tar.gz |
Silence kernel messages that stomp the command line after boot.
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/mkroot.sh | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/scripts/mkroot.sh b/scripts/mkroot.sh index 79774795..0953f419 100755 --- a/scripts/mkroot.sh +++ b/scripts/mkroot.sh @@ -98,6 +98,7 @@ if [ $$ -eq 1 ]; then # Setup networking for QEMU (needs /proc) [ -z "$CONSOLE" ] && CONSOLE="$(</sys/class/tty/console/active)" [ -z "$HANDOFF" ] && HANDOFF=/bin/sh && echo Type exit when done. + echo 3 > /proc/sys/kernel/printk exec oneit -c /dev/"${CONSOLE:-console}" $HANDOFF else # for chroot /bin/sh |