immortalwrt/package/ctcgfw/luci-app-frps/root/etc/uci-defaults/40_luci-frps
2020-05-09 18:16:05 +08:00

12 lines
201 B
Bash
Executable File

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