immortalwrt/package/lienol/luci-app-webrestriction/root/etc/uci-defaults/luci-app-control-webrestriction

12 lines
218 B
Plaintext
Raw Normal View History

2019-11-02 10:02:03 +08:00
#!/bin/sh
uci -q batch <<-EOF >/dev/null
delete ucitrack.@webrestriction[-1]
add ucitrack webrestriction
set ucitrack.@webrestriction[-1].init=webrestriction
commit ucitrack
EOF
rm -f /tmp/luci-indexcache
exit 0