From 097635b79bc6ddd6066a8369db6e298a25daa96e Mon Sep 17 00:00:00 2001 From: mbm Date: Tue, 24 Aug 2004 23:50:14 +0000 Subject: massive changes - sstrip cleanup from mjn3 - various patches from nico and others: http://openwrt.org/forum/viewtopic.php?t=368 git-svn-id: svn://svn.openwrt.org/openwrt/trunk@145 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- .../ipkg/pptp-server/root/etc/init.d/pptp-server | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 obsolete-buildroot/sources/openwrt/ipkg/pptp-server/root/etc/init.d/pptp-server (limited to 'obsolete-buildroot/sources/openwrt/ipkg/pptp-server/root/etc/init.d') diff --git a/obsolete-buildroot/sources/openwrt/ipkg/pptp-server/root/etc/init.d/pptp-server b/obsolete-buildroot/sources/openwrt/ipkg/pptp-server/root/etc/init.d/pptp-server new file mode 100644 index 000000000..3015c66ae --- /dev/null +++ b/obsolete-buildroot/sources/openwrt/ipkg/pptp-server/root/etc/init.d/pptp-server @@ -0,0 +1,18 @@ +#!/bin/sh + +case $1 in + start) + insmod ppp_async >/dev/null 2>&1 + insmod ppp_mppe_mppc >/dev/null 2>&1 + [ -d /var/run ] || mkdir -p /var/run + /usr/sbin/pptpd + ;; + stop) + [ -f /var/run/pptpd.pid ] && kill $(cat /var/run/pptpd.pid) >/dev/null 2>&1 + ;; + *) + echo "usage: $0 (start|stop)" + exit 1 +esac + +exit $? -- cgit v1.2.3