|
|
@ -1000,12 +1000,16 @@ setup_md_device() {
|
|
|
|
fi
|
|
|
|
fi
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
do_rundebugshell() {
|
|
|
|
|
|
|
|
good_msg 'Type "exit" to continue with normal bootup.'
|
|
|
|
|
|
|
|
[ -x /bin/sh ] && /bin/sh || /bin/ash
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
rundebugshell() {
|
|
|
|
rundebugshell() {
|
|
|
|
if [ -n "$DEBUG" ]
|
|
|
|
if [ -n "$DEBUG" ]
|
|
|
|
then
|
|
|
|
then
|
|
|
|
good_msg 'Starting debug shell as requested by "debug" option.'
|
|
|
|
good_msg 'Starting debug shell as requested by "debug" option.'
|
|
|
|
good_msg 'Type "exit" to continue with normal bootup.'
|
|
|
|
do_rundebugshell
|
|
|
|
[ -x /bin/sh ] && /bin/sh || /bin/ash
|
|
|
|
|
|
|
|
fi
|
|
|
|
fi
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|