FAKE_ROOT=''
FAKE_INIT=''
REAL_ROOTFLAGS=''
INIT_OPTS=''
ROOTFSTYPE='auto'
CRYPT_SILENT=0
init=*)
FAKE_INIT=${x#*=}
;;
init_opts=*)
INIT_OPTS=${x#*=}
# Livecd options
cdroot)
CDROOT=1
echo -e "${BOLD}.${NORMAL}"
exec /sbin/switch_root -c "/dev/console" "${CHROOT}" "${REAL_INIT:-/sbin/init}" "${INIT_OPTS}"
# init_opts is set in the environment by the kernel when it parses the command line
exec /sbin/switch_root -c "/dev/console" "${CHROOT}" "${REAL_INIT:-/sbin/init}" ${init_opts}
# If we get here, something bad has happened
splash 'verbose'