5 WAN_PROTO
=$
(nvram get wan_proto
)
6 [ "$WAN_PROTO" = "pptp" ] ||
exit 0
8 for module
in ip_gre slhc ppp_generic ppp_async ppp_deflate
; do
9 /sbin
/insmod
$module 2>/dev
/null
>/dev
/null
12 if test -d "/var/lock"; then
13 mkdir
-p /var
/lock ||
exit 1
16 /usr
/sbin
/pppd pty
"pptp x.x.x.x --loglevel 0 --nolaunchpppd" file /etc
/ppp
/options.pptp