Commit 7aabc9dc authored by Franco Fichtner's avatar Franco Fichtner

console: switch halt and reboot; closes #338

parent 4504c744
...@@ -40,8 +40,8 @@ echo " 1) Assign Interfaces 8) Shell" ...@@ -40,8 +40,8 @@ echo " 1) Assign Interfaces 8) Shell"
echo " 2) Set interface(s) IP address 9) pfTop" echo " 2) Set interface(s) IP address 9) pfTop"
echo " 3) Reset the root password 10) Filter Logs" echo " 3) Reset the root password 10) Filter Logs"
echo " 4) Reset to factory defaults 11) Restart web interface" echo " 4) Reset to factory defaults 11) Restart web interface"
echo " 5) Reboot system 12) Upgrade from console" echo " 5) Halt system 12) Upgrade from console"
echo " 6) Halt system 13) Restore a configuration" echo " 6) Reboot system 13) Restore a configuration"
if [ -n "${option99}" ]; then if [ -n "${option99}" ]; then
# flat for alignment... # flat for alignment...
echo " ${option99}" echo " ${option99}"
...@@ -69,10 +69,10 @@ case ${OPCODE} in ...@@ -69,10 +69,10 @@ case ${OPCODE} in
/usr/local/etc/rc.initial.defaults /usr/local/etc/rc.initial.defaults
;; ;;
5) 5)
/usr/local/etc/rc.initial.reboot /usr/local/etc/rc.initial.halt
;; ;;
6) 6)
/usr/local/etc/rc.initial.halt /usr/local/etc/rc.initial.reboot
;; ;;
7) 7)
/usr/local/etc/rc.initial.ping /usr/local/etc/rc.initial.ping
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment