From 2bc1456bce54940c94cc7a049a49a36b16c06581 Mon Sep 17 00:00:00 2001 From: Scott Ullrich Date: Mon, 18 May 2009 19:18:12 -0400 Subject: Do not keep respawning to shell on exit. Alert box is rebooting in 5, sleep for 5 to allow CTRL-C --- etc/rc.initial | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/etc/rc.initial b/etc/rc.initial index 1b1b468..1d2490d 100755 --- a/etc/rc.initial +++ b/etc/rc.initial @@ -3,6 +3,10 @@ # 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 -- cgit v1.1