aboutsummaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/mkroot.sh1
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