mirror of
https://github.com/openwrt/luci.git
synced 2025-12-21 21:24:35 +04:00
luci-app-mwan3: remove uci-defaults for ucitrack handling
The 'ucitrack' file is not available anymore this changes are not needed. Therefore, this 'uci-defaults' script is deleted. Signed-off-by: Florian Eckert <fe@dev.tdt.de>
This commit is contained in:
@@ -1,11 +1,5 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
|
||||||
# remove existing mwan ucitrack entry is now done with procd
|
|
||||||
uci -q batch <<-EOF >/dev/null
|
|
||||||
del ucitrack.@mwan3[-1]
|
|
||||||
commit ucitrack
|
|
||||||
EOF
|
|
||||||
|
|
||||||
uci -q get mwan3.globals >/dev/null || {
|
uci -q get mwan3.globals >/dev/null || {
|
||||||
uci -q add mwan3 globals >/dev/null
|
uci -q add mwan3 globals >/dev/null
|
||||||
uci -q rename mwan3.@globals[-1]="globals" >/dev/null
|
uci -q rename mwan3.@globals[-1]="globals" >/dev/null
|
||||||
|
|||||||
Reference in New Issue
Block a user