#!/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
