summaryrefslogtreecommitdiffstats
path: root/openwrt/package/pptp/files/pptp.init
diff options
context:
space:
mode:
Diffstat (limited to 'openwrt/package/pptp/files/pptp.init')
-rw-r--r--openwrt/package/pptp/files/pptp.init18
1 files changed, 0 insertions, 18 deletions
diff --git a/openwrt/package/pptp/files/pptp.init b/openwrt/package/pptp/files/pptp.init
deleted file mode 100644
index 34ff8a63b..000000000
--- a/openwrt/package/pptp/files/pptp.init
+++ /dev/null
@@ -1,18 +0,0 @@
-#!/bin/sh
-
-. /etc/functions.sh
-
-WAN_PROTO=$(nvram get wan_proto)
-[ "$WAN_PROTO" = "pptp" ] || exit 0
-
-for module in ip_gre slhc ppp_generic ppp_async ppp_deflate ; do
- /sbin/insmod $module 2>/dev/null >/dev/null
-done
-
-if test -d "/var/lock"; then
- mkdir -p /var/lock || exit 1
-fi
-
-/usr/sbin/pppd pty "pptp x.x.x.x --loglevel 0 --nolaunchpppd" file /etc/ppp/options.pptp
-
-