diff options
Diffstat (limited to 'net-misc/dhcpv6/files/dhcp6x.initd.in')
-rw-r--r-- | net-misc/dhcpv6/files/dhcp6x.initd.in | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/net-misc/dhcpv6/files/dhcp6x.initd.in b/net-misc/dhcpv6/files/dhcp6x.initd.in new file mode 100644 index 000000000000..78678924f7ab --- /dev/null +++ b/net-misc/dhcpv6/files/dhcp6x.initd.in @@ -0,0 +1,20 @@ +#!/sbin/runscript +# Copyright 1999-2008 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-misc/dhcpv6/files/dhcp6x.initd.in,v 1.1 2008/03/29 19:43:47 vapier Exp $ + +depend() { + need net +} + +start() { + ebegin "Starting dhcp6x" + start-stop-daemon --start --quiet --exec /usr/sbin/dhcp6x -- ${DHCP6X_OPTS} + eend $? +} + +stop() { + ebegin "Stopping dhcp6x" + start-stop-daemon --stop --quiet --exec /usr/sbin/dhcp6x + eend $? +} |