openwrt-feed/luci-app-mosdns/root/etc/uci-defaults/luci-mosdns

11 lines
178 B
Bash
Executable file

#!/bin/sh
uci -q batch <<-EOF >/dev/null
delete ucitrack.@mosdns[-1]
add ucitrack mosdns
set ucitrack.@mosdns[-1].init=mosdns
commit ucitrack
EOF
rm -rf /tmp/luci-*
exit 0