aboutsummaryrefslogtreecommitdiffstats
path: root/package/pptp/ipkg
diff options
context:
space:
mode:
authorNicolas Thill <nico@openwrt.org>2005-05-18 23:42:09 +0000
committerNicolas Thill <nico@openwrt.org>2005-05-18 23:42:09 +0000
commitedd6c8ee3f0fa0512bb5ae326de13ca24c7b6f9d (patch)
tree6070278b9ccb45b0fbd50513304e84b1cceb5069 /package/pptp/ipkg
parent36ae98c96ef1a2cfe7bb35765346bc91371e502a (diff)
downloadupstream-edd6c8ee3f0fa0512bb5ae326de13ca24c7b6f9d.tar.gz
upstream-edd6c8ee3f0fa0512bb5ae326de13ca24c7b6f9d.tar.bz2
upstream-edd6c8ee3f0fa0512bb5ae326de13ca24c7b6f9d.zip
Convert pptp to new packaging style
git-svn-id: svn://svn.openwrt.org/openwrt/trunk/openwrt@941 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/pptp/ipkg')
-rwxr-xr-xpackage/pptp/ipkg/etc/init.d/S50pptp18
-rw-r--r--package/pptp/ipkg/etc/ppp/options.pptp12
-rw-r--r--package/pptp/ipkg/pptp.conffiles1
-rw-r--r--package/pptp/ipkg/pptp.control7
4 files changed, 8 insertions, 30 deletions
diff --git a/package/pptp/ipkg/etc/init.d/S50pptp b/package/pptp/ipkg/etc/init.d/S50pptp
deleted file mode 100755
index 34ff8a63b5..0000000000
--- a/package/pptp/ipkg/etc/init.d/S50pptp
+++ /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
-
-
diff --git a/package/pptp/ipkg/etc/ppp/options.pptp b/package/pptp/ipkg/etc/ppp/options.pptp
deleted file mode 100644
index 0eb1e87e83..0000000000
--- a/package/pptp/ipkg/etc/ppp/options.pptp
+++ /dev/null
@@ -1,12 +0,0 @@
-lock
-noauth
-nobsdcomp
-nodeflate
-mtu 1490
-mru 1490
-lcp-echo-failure 5
-lcp-echo-interval 120
-idle 0
-defaultroute
-name xxxx
-remotename xxxx
diff --git a/package/pptp/ipkg/pptp.conffiles b/package/pptp/ipkg/pptp.conffiles
new file mode 100644
index 0000000000..136db31f1c
--- /dev/null
+++ b/package/pptp/ipkg/pptp.conffiles
@@ -0,0 +1 @@
+/etc/ppp/options.pptp \ No newline at end of file
diff --git a/package/pptp/ipkg/pptp.control b/package/pptp/ipkg/pptp.control
new file mode 100644
index 0000000000..67dbd26944
--- /dev/null
+++ b/package/pptp/ipkg/pptp.control
@@ -0,0 +1,7 @@
+Package: pptp
+Priority: optional
+Section: net
+Maintainer: Waldemar Brodkorb <wbx@dass-it.de>
+Source: buildroot internal
+Description: a Point-to-Point Tunneling Protocol (PPTP) client
+Depends: ppp, kmod-gre