lede/package/lean/luci-app-v2ray/root/etc/uci-defaults/v2ray
2018-04-25 16:02:39 +08:00

17 lines
311 B
Bash
Executable File

#!/bin/sh
uci -q batch <<-EOF >/dev/null
delete firewall.v2ray
set firewall.v2ray=include
set firewall.v2ray.type=script
set firewall.v2ray.path=/etc/v2ray.include
set firewall.v2ray.reload=1
commit firewall
EOF
/etc/init.d/v2raypro stop
/etc/init.d/v2raypro disable
rm -f /tmp/luci-indexcache
exit 0