# We cannot use if [ this = that ] after a pivot_root as
# an old version of coreutils in real_root does not support
# that style, noted by Weeve
+# Well, changed it back to using [ ] for 3.0.1_beta10 too many
+# people reporting with newer binutils that using 'test' does
+# not work for some reason
-if test "${USE_DEVFS_NORMAL}" -eq "1" -a "${CDROOT}" -eq "0"
+if [ "${USE_DEVFS_NORMAL}" -eq "1" -a "${CDROOT}" -eq "0" ]
then
# must mount a new devfs before we can
# umount the old one for some reason
# asking questions!
umount /dev
umount /proc
-elif test "${CDROOT}" -eq "1"
+elif [ "${CDROOT}" -eq "1" ]
then
# If automount at boot was on with devfs, we'll want to umount it
# also umount proc
# here's the line it says we should do:
# exec chroot . /sbin/init </dev/console >/dev/console 2>&1
# not gonna though ....
-exec /sbin/init
+exec chroot . /sbin/init ${CMDLINE} < /dev/console > /dev/consle 2>&1