projects
/
project
/
luci.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
luci-app-dnscrypt-proxy: fix ssl dependency
[project/luci.git]
/
applications
/
luci-app-mwan3
/
root
/
etc
/
uci-defaults
/
60_luci-mwan3
1
#!/bin/sh
2
3
# replace existing mwan ucitrack entry
4
uci -q batch <<-EOF >/dev/null
5
del ucitrack.@mwan3[-1]
6
add ucitrack mwan3
7
set ucitrack.@mwan3[-1].exec="/usr/sbin/mwan3 restart"
8
commit ucitrack
9
EOF
10
11
# remove LuCI cache
12
rm -rf /tmp/luci-indexcache /tmp/luci-modulecache
13
14
exit 0