(2006-08-06) rescue-bootcd

This commit is contained in:
2006-08-06 00:00:00 +02:00
parent 2f796b816a
commit decb062d20
21091 changed files with 7076462 additions and 0 deletions

40
rootfs/dodeeds.sh Executable file
View File

@@ -0,0 +1,40 @@
#!/bin/sh
# preguntar que se desea hacer
dialog --clear --title "Disco Recuperacion." \
--menu "Selecciona la accion a realizar." 20 51 4 \
"1" "Restaurar particion." \
"2" "Consola." \
"3" "Salir." 2> /tmpf
retval=$?
case $retval in
0)
echo "`cat /tmpf` elegido."
if test "`cat /tmpf`" = "1" ; then
echo "restaurar"
/restaurar.sh
fi
if test "`cat /tmpf`" = "2" ; then
echo "Consola"
/bin/sh
fi
;;
1)
echo "Salida";;
255)
if test -s /tmpf ; then
cat /tmpf
else
echo "Salida"
fi
;;
esac
# reiniciar
/sbin/reboot