From 7aabc9dcef7ae43b0a497c9b3868bbf2128fdba3 Mon Sep 17 00:00:00 2001 From: Franco Fichtner Date: Sat, 22 Aug 2015 19:39:03 +0200 Subject: [PATCH] console: switch halt and reboot; closes #338 --- src/etc/rc.initial | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/etc/rc.initial b/src/etc/rc.initial index 236f59fcd..ad0b10baa 100755 --- a/src/etc/rc.initial +++ b/src/etc/rc.initial @@ -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