更新 simpleadmin/console/menu/start_menu.sh
This commit is contained in:
parent
36e8f314ff
commit
66077439b5
@ -77,16 +77,18 @@ settings_menu() {
|
|||||||
display_green "2. simplefirewall settings (TTL and Port Block)"
|
display_green "2. simplefirewall settings (TTL and Port Block)"
|
||||||
display_green "3. Change simpleadmin (admin) password"
|
display_green "3. Change simpleadmin (admin) password"
|
||||||
display_green "4. Change root password (shell/ssh/console)"
|
display_green "4. Change root password (shell/ssh/console)"
|
||||||
display_green "5. Go back"
|
display_green "5. Change hostname"
|
||||||
|
display_green "6. Go back"
|
||||||
echo
|
echo
|
||||||
read -p "Select an option (1-5): " option
|
read -p "Select an option (1-6): " option
|
||||||
|
|
||||||
case "$option" in
|
case "$option" in
|
||||||
1) $MENU_SH/LAN_settings.sh ;;
|
1) $MENU_SH/LAN_settings.sh ;;
|
||||||
2) $MENU_SH/sfirewall_settings.sh ;;
|
2) $MENU_SH/sfirewall_settings.sh ;;
|
||||||
3) simplepasswd ;;
|
3) simplepasswd ;;
|
||||||
4) passwd ;;
|
4) passwd ;;
|
||||||
5) break ;;
|
5) $MENU_SH/change_hostname.sh ;;
|
||||||
|
6) break ;;
|
||||||
*) echo "Invalid option. Please try again." ;;
|
*) echo "Invalid option. Please try again." ;;
|
||||||
esac
|
esac
|
||||||
done
|
done
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user