git-svn-id: svn+ssh://svn.gentoo.org/var/svnroot/genkernel/trunk@109
67a159dc-881f-0410-a524-
ba9dfbe2cb84
looptype\=*)
LOOPTYPE=`parse_opt "${x}"`
;;
+ real_init\=*)
+ REAL_INIT=`parse_opt "${x}"`
+ ;;
*)
;;
esac
exec chroot . /bin/sh <<- EOF
umount /tmp/.initrd || echo "*: Failed to unmount the initrd!"
/sbin/blockdev --flushbufs /dev/ram0 >/dev/null 2>&1
- exec /sbin/init
+ exec /sbin/init ${REAL_INIT}
EOF
echo 'A fatal error has probably occured since /sbin/init did not'