Merge pull request #4183 from TDT-AG/pr/20200617-luci-app-mwan3
luci-app-mwan3: use ucitrack is now done with mwan3 procd
This commit is contained in:
commit
5b90a82dfa
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