diff options
author | Heinrich Wendel <lanius@gentoo.org> | 2003-11-17 19:54:29 +0000 |
---|---|---|
committer | Heinrich Wendel <lanius@gentoo.org> | 2003-11-17 19:54:29 +0000 |
commit | c7e214d59d64cb4f81ee81993e66f48b207e39f8 (patch) | |
tree | a81c88e41588abdf73b8cfdca89a7ddef0244a2d /net-dialup/l2tpd/files | |
parent | moved l2tpd from net-misc to net-dialup (diff) | |
download | historical-c7e214d59d64cb4f81ee81993e66f48b207e39f8.tar.gz historical-c7e214d59d64cb4f81ee81993e66f48b207e39f8.tar.bz2 historical-c7e214d59d64cb4f81ee81993e66f48b207e39f8.zip |
moved l2tpd from net-misc to net-dialup
Diffstat (limited to 'net-dialup/l2tpd/files')
-rw-r--r-- | net-dialup/l2tpd/files/digest-l2tpd-0.69 | 2 | ||||
-rw-r--r-- | net-dialup/l2tpd/files/l2tpd-init | 20 |
2 files changed, 22 insertions, 0 deletions
diff --git a/net-dialup/l2tpd/files/digest-l2tpd-0.69 b/net-dialup/l2tpd/files/digest-l2tpd-0.69 new file mode 100644 index 000000000000..93c48b7b8412 --- /dev/null +++ b/net-dialup/l2tpd/files/digest-l2tpd-0.69 @@ -0,0 +1,2 @@ +MD5 c5dba6b80f583070fe9e6ed6e0c2162e l2tpd-0.69.tar.gz 127693 +MD5 d41902cd6965d8789fdde67c9232f4d9 freeswanl2tpconfig-1.1.tgz 1943 diff --git a/net-dialup/l2tpd/files/l2tpd-init b/net-dialup/l2tpd/files/l2tpd-init new file mode 100644 index 000000000000..3dee1dd9a199 --- /dev/null +++ b/net-dialup/l2tpd/files/l2tpd-init @@ -0,0 +1,20 @@ +#!/sbin/runscript +# Copyright 1999-2003 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License v2 +# $Header: + +depend() { + need net +} + +start() { + ebegin "Starting l2tpd" + start-stop-daemon --start --quiet --exec /usr/sbin/l2tpd + eend $? +} + +stop() { + ebegin "Stopping l2tpd" + start-stop-daemon --stop --quiet --pidfile /var/run/l2tpd.pid + eend $? +} |