File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -939,8 +939,8 @@ install_grott() {
939939 fi
940940 local installType=" $1 "
941941
942- # In non- interactive mode, skip setup unless openhabian.config grottSetupEnabled == true
943- if [[ -z " $INTERACTIVE " ]] && { [[ -z " $grottSetupEnabled " ]] || [[ " $grottSetupEnabled " != " true" ]]; }; then
942+ # Skip setup if in un-attended mode and openhabian.config grottSetupEnabled is missing or not true
943+ if [[ -n " $UNATTENDED " ]] && { [[ -z " $grottSetupEnabled " ]] || [[ " $grottSetupEnabled " != " true" ]]; }; then
944944 echo " $( timestamp) [openHABian] Setup Grott Proxy... SKIPPED (setup not enabled)"
945945 return 0
946946 fi
Original file line number Diff line number Diff line change @@ -67,9 +67,6 @@ teardown_file() {
6767}
6868
6969@test " destructive-grott_install" {
70- # Force unattended install
71- grottSetupEnabled=true
72-
7370 # # Confirm Grott Proxy install completes without error
7471 echo -e " # ${COL_CYAN} $( timestamp) [openHABian] Grott Proxy installation starting...${COL_DEF} " >&3
7572 run install_grott " install" 3>& -
You can’t perform that action at this time.
0 commit comments