summaryrefslogtreecommitdiffstats
path: root/etc/rc.initial
diff options
context:
space:
mode:
Diffstat (limited to 'etc/rc.initial')
-rwxr-xr-xetc/rc.initial4
1 files changed, 4 insertions, 0 deletions
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
OpenPOWER on IntegriCloud