remove duplicate uci track
This commit is contained in:
parent
0c4e70978f
commit
dc842c4a16
@ -8,6 +8,8 @@ uci -q batch <<-EOF >/dev/null
|
||||
delete ucitrack.@qmodem[-1]
|
||||
add ucitrack qmodem
|
||||
set ucitrack.@qmodem[-1].init=qmodem_hc_sim
|
||||
|
||||
delete ucitrack.qmodem_hc_sim
|
||||
add ucitrack qmodem_hc_sim
|
||||
set ucitrack.@qmodem_hc_sim[-1].init=qmodem_hc_sim
|
||||
commit ucitrack
|
||||
|
@ -1,6 +1,7 @@
|
||||
#!/bin/sh
|
||||
|
||||
uci -q batch <<-EOF >/dev/null
|
||||
delete ucitrack.@qmodem_mwan[-1]
|
||||
add ucitrack qmodem_mwan
|
||||
set ucitrack.@qmodem_mwan[-1].init=qmodem_mwan
|
||||
commit ucitrack
|
||||
|
@ -9,6 +9,7 @@ uci -q batch << EOF
|
||||
commit firewall
|
||||
EOF
|
||||
uci -q batch <<-EOF >/dev/null
|
||||
delete ucitrack.@qmodem_ttl[-1]
|
||||
add ucitrack qmodem_ttl
|
||||
set ucitrack.@qmodem_ttl[-1].init=qmodem_ttl
|
||||
commit ucitrack
|
||||
|
@ -5,6 +5,7 @@
|
||||
/etc/init.d/modem enable
|
||||
|
||||
uci -q batch <<-EOF >/dev/null
|
||||
delete ucitrack.@qmodem[-1]
|
||||
delete ucitrack.@qmodem[-1]
|
||||
add ucitrack qmodem
|
||||
set ucitrack.@qmodem[-1].init=qmodem_network
|
||||
|
Loading…
x
Reference in New Issue
Block a user