1
0
Fork 0
mirror of https://github.com/Ysurac/openmptcprouter-feeds.git synced 2025-03-09 15:40:03 +00:00

Fix z8102ax leds

This commit is contained in:
Ycarus (Yannick Chabanois) 2023-11-10 11:22:39 +01:00
parent c7f53f2840
commit 6162e15c0c

View file

@ -127,7 +127,7 @@ elif [ -n "$(ubus call system board | jsonfilter -e '@.board_name' | grep rutx)"
EOF
fi
elif [ -n "$(ubus call system board | jsonfilter -e '@.board_name' | grep z8102ax)" ] && [ -z "$(uci show system | grep modem1)" ]; then
if [ -n "$(ubus call system board | jsonfilter -e '@.board_name' | grep z8102ax)" ] && [ -z "$(uci show system | grep modem1)" ]; then
uci -q batch <<-EOF >/dev/null
add system led
set system.@led[-1].name='modem1'