diff --git a/salt/cpe/ap.sh b/salt/cpe/ap.sh index cf25cd8..5d65054 100644 --- a/salt/cpe/ap.sh +++ b/salt/cpe/ap.sh @@ -468,7 +468,7 @@ if [ \\\$REACHABLE = y ] && [ \\\$UP = n ]; then {%- endif %} wifi up fi -if [ \\\$REACHABLE = n ] && [ \\\$UP = y ]; +if [ \\\$REACHABLE = n ] && [ \\\$UP = y ]; then {%- if conf.get("error-led") %} echo 1 > /sys/class/leds/{{ conf["error-led"] }}/brightness {%- endif %}