diff options
author | Thomas Gellekum <tg@FreeBSD.org> | 2000-07-05 12:37:06 +0000 |
---|---|---|
committer | Thomas Gellekum <tg@FreeBSD.org> | 2000-07-05 12:37:06 +0000 |
commit | 546041ba3113a4a58d8f3e7e7cb90e78fcb38ea8 (patch) | |
tree | 7b9cd553a62be7a9bd52800d334be8b703eb93a1 /net/poptop | |
parent | 01ab6da99c55af36e516b7f8016373124c4039cf (diff) | |
download | ports-546041ba3113a4a58d8f3e7e7cb90e78fcb38ea8.tar.gz ports-546041ba3113a4a58d8f3e7e7cb90e78fcb38ea8.zip |
Notes
Diffstat (limited to 'net/poptop')
-rw-r--r-- | net/poptop/files/pptpd.sh | 16 |
1 files changed, 15 insertions, 1 deletions
diff --git a/net/poptop/files/pptpd.sh b/net/poptop/files/pptpd.sh index eeb61a0a7a63..f2e9d47f2bb7 100644 --- a/net/poptop/files/pptpd.sh +++ b/net/poptop/files/pptpd.sh @@ -1,2 +1,16 @@ #! /bin/sh -[ -x /usr/local/sbin/pptpd ] && /usr/local/sbin/pptpd && echo -n ' pptpd' + +case $1 in +start) + [ -x /usr/local/sbin/pptpd ] && /usr/local/sbin/pptpd && echo -n ' pptpd' + ;; +stop) + killall pptpd && echo -n ' pptpd' + ;; +*) + echo "Usage: `basename $0` {start|stop}" >&2 + exit 64 + ;; +esac + +exit 0 |