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

12 lines
237 B
Plaintext
Raw Normal View History

2022-02-12 16:05:03 +08:00
#!/bin/sh
uci -q batch <<-EOF >/dev/null
delete ucitrack.@v2raya[-1]
add ucitrack v2raya
set ucitrack.@v2raya[-1].init=v2raya
commit ucitrack
EOF
rm -rf /tmp/luci-indexcache /tmp/luci-modulecache
exit 0