small-package/luci-app-autoupdate/root/etc/uci-defaults/luci-autoupdate

10 lines
174 B
Bash
Executable File

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