Skip to content

Commit

Permalink
Fix z8102ax leds
Browse files Browse the repository at this point in the history
  • Loading branch information
Ysurac committed Nov 10, 2023
1 parent c7f53f2 commit 6162e15
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion openmptcprouter/files/etc/uci-defaults/2060-omr-system
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand Down

0 comments on commit 6162e15

Please sign in to comment.