Move to simpleadmin

Since ttyd is part of simpleadmin this belongs here
This commit is contained in:
Cameron Thompson
2024-04-19 16:01:08 -04:00
parent 1f42134cdf
commit 9a2493cbfe
3 changed files with 0 additions and 0 deletions

View File

@@ -0,0 +1,29 @@
#!/bin/bash
# Display Messages in Colors
display_green() {
echo -e "\033[0;32m$1\033[0m"
}
display_red() {
echo -e "\033[0;31m$1\033[0m"
}
while true; do
display_green "Welcome to iamromulan's Simple Console Menu"
display_green "Select an option"
echo "------------------"
display_green "Select an option"
display_green "1. AP Settings"
display_green "2. Exit (Enter Root Shell)"
echo
read -p "Select an option (1-19): " option
case "$option" in
1) ap_settings.sh
2) break;;
*) echo "Invalid option. Please try again.";;
esac
done
}