-# {{{ debug
-stage=6
-rundebugshell
-
-if [ -n "$BOOTDEBUG" ] ; then
- # set only if not already set
- if [ -z "$CMDLINE" ] ; then
- CMDLINE="$(cat /proc/cmdline)"
- [ -d ${LIVECD_PATH}/bootparams/ ] && CMDLINE="$CMDLINE $(cat ${LIVECD_PATH}/bootparams/*)"
- fi
- einfo "Bootoption debug detected. Printing kernel command line:"
- echo "$CMDLINE"
-fi
-# }}}
-