From: Ben Gras Date: Fri, 12 Sep 2014 21:15:46 +0000 (+0200) Subject: restore single user mode X-Git-Tag: v3.3.0~3 X-Git-Url: http://zhaoyanbai.com/repos/Bv9ARM.ch03.html?a=commitdiff_plain;h=a875715bb463598626179c7912c9229be7665459;p=minix.git restore single user mode . the minix init started rc with the 'bootargs' variable. this can now be cleanly passed to rc by executing sysenv from the ramdisk rc script. Change-Id: I68d0d2ab0be326b2ae30438a62dd7649b600c2d2 --- diff --git a/minix/drivers/storage/ramdisk/rc b/minix/drivers/storage/ramdisk/rc index 94a17e5df..6d1cc61fe 100644 --- a/minix/drivers/storage/ramdisk/rc +++ b/minix/drivers/storage/ramdisk/rc @@ -91,4 +91,4 @@ fi /bin/mount -e -n -t procfs none /proc || echo "WARNING: couldn't mount procfs" -exec /bin/sh /etc/rc "$@" +exec /bin/sh /etc/rc `sysenv bootopts` "$@"