luci/applications/luci-app-watchcat/root/etc/uci-defaults/40_luci-watchcat

12 lines
194 B
Text
Raw Normal View History

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