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:
Florian Eckert
2024-04-11 11:01:09 +02:00
parent 0b36f269d5
commit a69e3874d3

View File

@@ -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