Changeset 523
- Timestamp:
- 08/04/10 22:12:36 (22 months ago)
- Files:
-
- 1 modified
-
branches/nightwing-wa/nightwing/usr/bin/nw_conf (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
branches/nightwing-wa/nightwing/usr/bin/nw_conf
r515 r523 754 754 } 755 755 756 case_rip_select(){757 case_rip(){758 echo "Enter the Redirect IP: "759 read IP760 uci set $NDS.redirect_ip="$IP"761 uci commit nodogsplash762 }763 764 read RIP765 case $RIP in766 y|Y)767 case_rip768 ;;769 n|N)770 echo $NOCHANGED_MSG771 sleep 2772 ;;773 *)774 echo "$RIP is not a valid option"775 echo "[y/n]: "776 case_rip_select777 ;;778 esac779 }780 781 782 756 clear 783 757 echo -e "\033[1m **************** NoDogSplash Config ***************\033[0m" … … 786 760 echo -e "\033[1m b.\033[0m Change Gateway Name" 787 761 echo -e "\033[1m c.\033[0m Change Redirect URL" 788 echo -e "\033[1m d.\033[0m Change Redirect IP" 789 echo -e "\033[1m e.\033[0m Back to main menu" 790 echo -n "Select an option [a - e]: " 762 echo -e "\033[1m d.\033[0m Back to main menu" 763 echo -n "Select an option [a - d]: " 791 764 read val5 792 765 case $val5 in … … 811 784 ;; 812 785 d|D) 813 echo "The current Redirect IP is: $(uci_get $NDS.redirect_ip)"814 echo $YESNO_MSG815 case_rip_select816 menu_5817 ;;818 e|E)819 786 ;; 820 787