#!/bin/sh

uci -q batch <<-EOF >/dev/null
	delete firewall.pptpd
	set firewall.pptpd=include
	set firewall.pptpd.type=script
	set firewall.pptpd.path=/etc/pptpd.include
	set firewall.pptpd.reload=1
	commit firewall
EOF

/etc/init.d/pptpd enable && /etc/init.d/pptpd restart

rm -f /tmp/luci-indexcache
exit 0
