projects
/
project
/
luci.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge pull request #1386 from dibdot/dnscrypt-proxy
[project/luci.git]
/
applications
/
luci-app-mwan3
/
root
/
etc
/
uci-defaults
/
60_luci-mwan3
diff --git
a/applications/luci-app-mwan3/root/etc/uci-defaults/60_luci-mwan3
b/applications/luci-app-mwan3/root/etc/uci-defaults/60_luci-mwan3
index
ff9a229
..
50c65ad
100755
(executable)
--- a/
applications/luci-app-mwan3/root/etc/uci-defaults/60_luci-mwan3
+++ b/
applications/luci-app-mwan3/root/etc/uci-defaults/60_luci-mwan3
@@
-8,6
+8,13
@@
uci -q batch <<-EOF >/dev/null
commit ucitrack
EOF
commit ucitrack
EOF
+uci -q get mwan3.globals >/dev/null || {
+ uci -q add mwan3 globals >/dev/null
+ uci -q rename mwan3.@globals[-1]="globals" >/dev/null
+ uci -q set mwan3.globals.local_source="none" >/dev/null
+ uci commit mwan3
+}
+
# remove LuCI cache
rm -rf /tmp/luci-indexcache /tmp/luci-modulecache
# remove LuCI cache
rm -rf /tmp/luci-indexcache /tmp/luci-modulecache