diff options
-rwxr-xr-x | etc/rc | 7 | ||||
-rwxr-xr-x | etc/rc.bootup | 6 | ||||
-rwxr-xr-x | etc/rc.initial | 10 |
3 files changed, 0 insertions, 23 deletions
@@ -404,13 +404,6 @@ if [ -f $varrunpath/booting ]; then /bin/rm $varrunpath/booting fi -# If a shell was selected from recovery -# console then just drop to the shell now. -if [ -f "/tmp/donotbootup" ]; then - echo "Dropping to recovery shell." - exit 0 -fi - echo -n "Starting CRON... " cd /tmp && /usr/sbin/cron -s 2>/dev/null echo "done." diff --git a/etc/rc.bootup b/etc/rc.bootup index 9e2729d..332e629 100755 --- a/etc/rc.bootup +++ b/etc/rc.bootup @@ -70,12 +70,6 @@ function rescue_detect_keypress() { passthru("/etc/rc.reboot"); exit; } - } elseif (in_array($key, array("!", "~"))) { - putenv("TERM=cons25"); - echo "\n\nRecovery shell selected...\n"; - echo "\n"; - touch("/tmp/donotbootup"); - exit; } else { echo "\n\n"; } diff --git a/etc/rc.initial b/etc/rc.initial index 45b781c..2d9fa98 100755 --- a/etc/rc.initial +++ b/etc/rc.initial @@ -13,16 +13,6 @@ #trap : 3 #trap : 4 -# If recovery console shell option has been specified -if [ -f "/tmp/donotbootup" ]; then - /usr/bin/env prompt="%B[%n@%m]%b%/(%h)||RecoveryConsoleShell: " /bin/tcsh - rm "/tmp/donotbootup" - echo "Rebooting in 5 seconds... CTRL-C to abort..." - sleep 5 - /etc/rc.reboot - exit -fi - if [ -f /etc/rc.local ]; then RCLOCALPWD=`ps awux | grep rc.local | grep -v grep | awk '{ print $2 }'` if [ "$RCLOCALPWD" = "" ]; then |