3
# include gettext stuff
4
. /lib/recovery-mode/l10n.sh
7
menu_text=$(eval_gettext "Recovery Menu (limited read-only menu)")
15
items[c++]=$(eval_gettext " Resume normal boot")
17
for i in /lib/recovery-mode/options/*; do
21
items[c++]="`basename "$i"`"
27
if [ ! -x "$(which whiptail)" ]; then
28
echo $(eval_gettext "Couldn't find whiptail, starting root shell instead of recovery menu.")
33
choice="$(whiptail --menu "$menu_text" 15 70 6 \
41
if [ "$choice" = "resume" ]; then
46
"/lib/recovery-mode/options/$choice"
49
if [ "$choice" = "remount" ] || [ "$choice" = "fsck" ]; then
50
menu_text=$(eval_gettext "Recovery Menu")
54
if [ "$retval" -eq 42 ]; then