cpe: fix wifi-on-link.sh

This commit is contained in:
Astro 2021-02-03 00:54:28 +01:00
parent 104aa1e794
commit 3499a78e65
1 changed files with 1 additions and 1 deletions

View File

@ -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 %}