luci-app-mwan3: use ucitrack is now done with mwan3 procd
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
This commit is contained in:
parent
07aa28b39e
commit
40957b1c78
1 changed files with 1 additions and 3 deletions
|
@ -1,10 +1,8 @@
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
|
||||||
# replace existing mwan ucitrack entry
|
# remove existing mwan ucitrack entry is now done with procd
|
||||||
uci -q batch <<-EOF >/dev/null
|
uci -q batch <<-EOF >/dev/null
|
||||||
del ucitrack.@mwan3[-1]
|
del ucitrack.@mwan3[-1]
|
||||||
add ucitrack mwan3
|
|
||||||
set ucitrack.@mwan3[-1].exec="/etc/init.d/mwan3 reload"
|
|
||||||
commit ucitrack
|
commit ucitrack
|
||||||
EOF
|
EOF
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue