diff options
| author | Nicolas Thill <nico@openwrt.org> | 2005-05-18 23:42:09 +0000 |
|---|---|---|
| committer | Nicolas Thill <nico@openwrt.org> | 2005-05-18 23:42:09 +0000 |
| commit | ad8d8e100e98b561fce52e426aebc853c3e85372 (patch) | |
| tree | bc89a13663db6b74780802837517151735dc5bd1 /openwrt/package/pptp/ipkg | |
| parent | c4c02b571bf1465a42f692a1ff37b03cc87374f3 (diff) | |
| download | mtk-20170518-ad8d8e100e98b561fce52e426aebc853c3e85372.zip mtk-20170518-ad8d8e100e98b561fce52e426aebc853c3e85372.tar.gz mtk-20170518-ad8d8e100e98b561fce52e426aebc853c3e85372.tar.bz2 | |
Convert pptp to new packaging style
SVN-Revision: 941
Diffstat (limited to 'openwrt/package/pptp/ipkg')
| -rwxr-xr-x | openwrt/package/pptp/ipkg/etc/init.d/S50pptp | 18 | ||||
| -rw-r--r-- | openwrt/package/pptp/ipkg/etc/ppp/options.pptp | 12 | ||||
| -rw-r--r-- | openwrt/package/pptp/ipkg/pptp.conffiles | 1 | ||||
| -rw-r--r-- | openwrt/package/pptp/ipkg/pptp.control | 7 |
4 files changed, 8 insertions, 30 deletions
diff --git a/openwrt/package/pptp/ipkg/etc/init.d/S50pptp b/openwrt/package/pptp/ipkg/etc/init.d/S50pptp deleted file mode 100755 index 34ff8a6..0000000 --- a/openwrt/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/openwrt/package/pptp/ipkg/etc/ppp/options.pptp b/openwrt/package/pptp/ipkg/etc/ppp/options.pptp deleted file mode 100644 index 0eb1e87..0000000 --- a/openwrt/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/openwrt/package/pptp/ipkg/pptp.conffiles b/openwrt/package/pptp/ipkg/pptp.conffiles new file mode 100644 index 0000000..136db31 --- /dev/null +++ b/openwrt/package/pptp/ipkg/pptp.conffiles @@ -0,0 +1 @@ +/etc/ppp/options.pptp
\ No newline at end of file diff --git a/openwrt/package/pptp/ipkg/pptp.control b/openwrt/package/pptp/ipkg/pptp.control new file mode 100644 index 0000000..67dbd26 --- /dev/null +++ b/openwrt/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 |
