mirror of
https://github.com/lucaspalomodevelop/core.git
synced 2026-03-20 03:16:12 +00:00
console: switch halt and reboot; closes #338
This commit is contained in:
parent
4504c74439
commit
7aabc9dcef
@ -40,8 +40,8 @@ echo " 1) Assign Interfaces 8) Shell"
|
||||
echo " 2) Set interface(s) IP address 9) pfTop"
|
||||
echo " 3) Reset the root password 10) Filter Logs"
|
||||
echo " 4) Reset to factory defaults 11) Restart web interface"
|
||||
echo " 5) Reboot system 12) Upgrade from console"
|
||||
echo " 6) Halt system 13) Restore a configuration"
|
||||
echo " 5) Halt system 12) Upgrade from console"
|
||||
echo " 6) Reboot system 13) Restore a configuration"
|
||||
if [ -n "${option99}" ]; then
|
||||
# flat for alignment...
|
||||
echo " ${option99}"
|
||||
@ -69,10 +69,10 @@ case ${OPCODE} in
|
||||
/usr/local/etc/rc.initial.defaults
|
||||
;;
|
||||
5)
|
||||
/usr/local/etc/rc.initial.reboot
|
||||
/usr/local/etc/rc.initial.halt
|
||||
;;
|
||||
6)
|
||||
/usr/local/etc/rc.initial.halt
|
||||
/usr/local/etc/rc.initial.reboot
|
||||
;;
|
||||
7)
|
||||
/usr/local/etc/rc.initial.ping
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user