cpe: fix wifi-on-link.sh
This commit is contained in:
parent
104aa1e794
commit
3499a78e65
|
@ -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 %}
|
||||
|
|
Loading…
Reference in New Issue