Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 37356 - added an init.d script for the pptpd ebuild
Summary: added an init.d script for the pptpd ebuild
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All All
: High enhancement (vote)
Assignee: Jared H. Hudson (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-01-05 17:46 UTC by Ken Wilson
Modified: 2004-09-27 06:16 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
a great improved pptpd rc file (pptpd,544 bytes, text/plain)
2004-01-05 20:33 UTC, Jeffrey Forman (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Ken Wilson 2004-01-05 17:46:41 UTC
Hi, listed below is an init.d script for the pptpd ebuild

Cheers
Ken Wilson


<START>

#!/sbin/runscript
# Copyright 1999-2003 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
depend() {
        need net
}

start() {

        ebegin "Starting PPTPD"
        cd /usr/sbin
        ./pptpd
        eend $?
}

stop() {
        ebegin "Stopping PPTPD"
        killall pptpd >/dev/null
        eend $?
}

<STOP>
Comment 1 Jeffrey Forman (RETIRED) gentoo-dev 2004-01-05 20:33:21 UTC
Created attachment 23223 [details]
a great improved pptpd rc file
Comment 2 Ken Wilson 2004-01-05 20:40:56 UTC
Thanks Jeff, I've been using Gentoo for a while, this is the first thing i've submitted. So thanks for the feedback

Ken
Comment 3 Clay Culver 2004-02-25 20:16:01 UTC
I just tested Jeffrey Forman's improved init file.  Works perfectly on my system.
Comment 4 Daniel Black (RETIRED) gentoo-dev 2004-09-27 06:16:25 UTC
added with pptp-1.5