small-package/luci-app-adguardhome/root/etc/uci-defaults/40_luci-AdGuardHome

13 lines
256 B
Plaintext
Raw Normal View History

2023-03-03 19:19:19 +08:00
#!/bin/sh
uci -q batch <<-EOF >/dev/null 2>&1
delete ucitrack.@AdGuardHome[-1]
add ucitrack AdGuardHome
set ucitrack.@AdGuardHome[-1].init=AdGuardHome
commit ucitrack
delete AdGuardHome.AdGuardHome.ucitracktest
EOF
rm -f /tmp/luci-indexcache
exit 0