immortalwrt/package/ntlf9t/luci-app-softethervpn5/root/etc/uci-defaults/luci-softethervpn5
2020-02-14 13:40:14 +08:00

14 lines
246 B
Bash
Executable File

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