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:
Florian Eckert 2020-06-24 15:56:58 +02:00 committed by GitHub
commit 5b90a82dfa
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,10 +1,8 @@
#!/bin/sh
# replace existing mwan ucitrack entry
# remove existing mwan ucitrack entry is now done with procd
uci -q batch <<-EOF >/dev/null
del ucitrack.@mwan3[-1]
add ucitrack mwan3
set ucitrack.@mwan3[-1].exec="/etc/init.d/mwan3 reload"
commit ucitrack
EOF