diff options
author | Hannes Mehnert <hannes@gentoo.org> | 2002-10-18 18:59:42 +0000 |
---|---|---|
committer | Hannes Mehnert <hannes@gentoo.org> | 2002-10-18 18:59:42 +0000 |
commit | 7c6c1e6fa8ec19286c17202357e4e5e3f40e7146 (patch) | |
tree | 19f76e4e3ce3908246def2a101f11688ef0f586f /net-misc/radvd/files | |
parent | some more minor explanations (diff) | |
download | gentoo-2-7c6c1e6fa8ec19286c17202357e4e5e3f40e7146.tar.gz gentoo-2-7c6c1e6fa8ec19286c17202357e4e5e3f40e7146.tar.bz2 gentoo-2-7c6c1e6fa8ec19286c17202357e4e5e3f40e7146.zip |
initial import, ebuild by ace@sannes.org
Diffstat (limited to 'net-misc/radvd/files')
-rw-r--r-- | net-misc/radvd/files/digest-radvd-0.7.1 | 1 | ||||
-rw-r--r-- | net-misc/radvd/files/radvd | 20 |
2 files changed, 21 insertions, 0 deletions
diff --git a/net-misc/radvd/files/digest-radvd-0.7.1 b/net-misc/radvd/files/digest-radvd-0.7.1 new file mode 100644 index 000000000000..fb5df66e6833 --- /dev/null +++ b/net-misc/radvd/files/digest-radvd-0.7.1 @@ -0,0 +1 @@ +MD5 5f0ae96490eab23ae926f9ee209c1e8b radvd-0.7.1.tar.gz 114333 diff --git a/net-misc/radvd/files/radvd b/net-misc/radvd/files/radvd new file mode 100644 index 000000000000..7067ab1b1fa0 --- /dev/null +++ b/net-misc/radvd/files/radvd @@ -0,0 +1,20 @@ +#!/sbin/runscript +# Copyright 1999-2002 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-misc/radvd/files/radvd,v 1.1 2002/10/18 18:59:42 hannes Exp $ + +depend () { + need net +} + +start () { + ebegin "Starting radvd" + start-stop-daemon --start --quiet --exec /usr/sbin/radvd -- -u radvd -p /var/run/radvd/radvd.pid + eend +} + +stop() { + ebegin "Stopping radvd" + start-stop-daemon --stop --quiet --pidfile /var/run/radvd/radvd.pid + eend +} |