Files
openwrt_packages/luci-app-mentohust/root/etc/uci-defaults/luci-mentohust
2025-11-02 14:26:26 +08:00

14 lines
237 B
Bash
Executable File

#!/bin/sh
[ -f "/etc/config/ucitrack" ] && {
uci -q batch <<-EOF >/dev/null
delete ucitrack.@mentohust[-1]
add ucitrack mentohust
set ucitrack.@mentohust[-1].init=mentohust
commit ucitrack
EOF
}
rm -rf /tmp/luci-indexcache*
exit 0