From 3499a78e659b49a661254200c497ac0961b012d0 Mon Sep 17 00:00:00 2001 From: Astro Date: Wed, 3 Feb 2021 00:54:28 +0100 Subject: [PATCH] cpe: fix wifi-on-link.sh --- salt/cpe/ap.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 %}