summaryrefslogtreecommitdiffstats
path: root/etc/rc.initial
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2004-12-29 17:26:30 +0000
committerScott Ullrich <sullrich@pfsense.org>2004-12-29 17:26:30 +0000
commit97a741af62a6aae767450681546e19ce666f84cb (patch)
tree7bab8ebc398b513c265005a95d5ab99886f46168 /etc/rc.initial
parent812cc626e7361593edefceaeeb40b435ce728176 (diff)
downloadpfsense-97a741af62a6aae767450681546e19ce666f84cb.zip
pfsense-97a741af62a6aae767450681546e19ce666f84cb.tar.gz
Add bkw's changes which enable halting from the console menu.
Diffstat (limited to 'etc/rc.initial')
-rwxr-xr-xetc/rc.initial18
1 files changed, 11 insertions, 7 deletions
diff --git a/etc/rc.initial b/etc/rc.initial
index df59e9a..d531928 100755
--- a/etc/rc.initial
+++ b/etc/rc.initial
@@ -41,10 +41,11 @@ echo "2) Set up LAN IP address"
echo "3) Reset webGUI password"
echo "4) Reset to factory defaults"
echo "5) Reboot system"
-echo "6) Ping host"
-echo "7) Shell"
-echo "8) PFtop"
-echo "9) Access web GUI using Links"
+echo "6) Halt system"
+echo "7) Ping host"
+echo "8) Shell"
+echo "9) PFtop"
+echo "10) Access web GUI using Links"
echo
read -p "Enter a number: " opmode
@@ -71,16 +72,19 @@ case ${opmode} in
/etc/rc.initial.reboot
;;
6)
- /etc/rc.initial.ping
+ /etc/rc.initial.halt
;;
7)
+ /etc/rc.initial.ping
+ ;;
+8)
set prompt = "\n`/bin/hostname -s`# "
/bin/sh
;;
-8)
+9)
/usr/local/sbin/pftop
;;
-9)
+10)
links "http://localhost"
;;
esac
OpenPOWER on IntegriCloud