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 %}
|
{%- endif %}
|
||||||
wifi up
|
wifi up
|
||||||
fi
|
fi
|
||||||
if [ \\\$REACHABLE = n ] && [ \\\$UP = y ];
|
if [ \\\$REACHABLE = n ] && [ \\\$UP = y ]; then
|
||||||
{%- if conf.get("error-led") %}
|
{%- if conf.get("error-led") %}
|
||||||
echo 1 > /sys/class/leds/{{ conf["error-led"] }}/brightness
|
echo 1 > /sys/class/leds/{{ conf["error-led"] }}/brightness
|
||||||
{%- endif %}
|
{%- endif %}
|
||||||
|
|
Loading…
Reference in New Issue