Add HA watchdog
This commit is contained in:
@@ -229,9 +229,10 @@ main() {
|
||||
printf " 1) Run ALL Steps (Recommended)\n"
|
||||
printf " 2) Run Main Steps Only\n"
|
||||
printf " 3) Run Optional Steps Only\n"
|
||||
printf " 4) Install/Uninstall HA Watchdog\n"
|
||||
printf " 0) Exit\n"
|
||||
printf "${BLUE}=========================================${NC}\n"
|
||||
printf "${YELLOW}Select an option [0-3]: ${NC}"
|
||||
printf "${YELLOW}Select an option [0-4]: ${NC}"
|
||||
|
||||
read opt
|
||||
case "$opt" in
|
||||
@@ -239,7 +240,7 @@ main() {
|
||||
printf "\nExiting setup.\n"
|
||||
exit 0
|
||||
;;
|
||||
1|2|3)
|
||||
1|2|3|4)
|
||||
setup_ui
|
||||
;;
|
||||
*)
|
||||
@@ -252,12 +253,12 @@ main() {
|
||||
|
||||
case "$opt" in
|
||||
1)
|
||||
update_status "$LINE_HA_WATCHDOG" "Skipped"
|
||||
setup_server
|
||||
setup_docker
|
||||
setup_zsh
|
||||
ask_optional_step "$LINE_TAILSCALE" "Tailscale" setup_tailscale
|
||||
ask_optional_step "$LINE_WIFITUI" "Wifitui" setup_wifitui
|
||||
ask_optional_step "$LINE_HA_WATCHDOG" "HA Watchdog" setup_ha_watchdog
|
||||
;;
|
||||
2)
|
||||
update_status "$LINE_TAILSCALE" "Skipped"
|
||||
@@ -271,9 +272,17 @@ main() {
|
||||
update_status "$LINE_SERVER" "Skipped"
|
||||
update_status "$LINE_DOCKER" "Skipped"
|
||||
update_status "$LINE_ZSH" "Skipped"
|
||||
update_status "$LINE_HA_WATCHDOG" "Skipped"
|
||||
ask_optional_step "$LINE_TAILSCALE" "Tailscale" setup_tailscale
|
||||
ask_optional_step "$LINE_WIFITUI" "Wifitui" setup_wifitui
|
||||
ask_optional_step "$LINE_HA_WATCHDOG" "HA Watchdog" setup_ha_watchdog
|
||||
;;
|
||||
4)
|
||||
update_status "$LINE_SERVER" "Skipped"
|
||||
update_status "$LINE_DOCKER" "Skipped"
|
||||
update_status "$LINE_ZSH" "Skipped"
|
||||
update_status "$LINE_TAILSCALE" "Skipped"
|
||||
update_status "$LINE_WIFITUI" "Skipped"
|
||||
setup_ha_watchdog "$LINE_HA_WATCHDOG"
|
||||
;;
|
||||
esac
|
||||
|
||||
|
||||
Reference in New Issue
Block a user