summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2004-03-06 03:40:48 +0000
committerMike Frysinger <vapier@gentoo.org>2004-03-06 03:40:48 +0000
commit2101a23a8b2139ca5bd44adc09d9470837c1f520 (patch)
treef109b2cb1e35fde86f2fead022469ca0699af9b2 /net-misc/dhcpv6
parentVersion bump. (diff)
downloadhistorical-2101a23a8b2139ca5bd44adc09d9470837c1f520.tar.gz
historical-2101a23a8b2139ca5bd44adc09d9470837c1f520.tar.bz2
historical-2101a23a8b2139ca5bd44adc09d9470837c1f520.zip
we license under gpl2, not gpl2 or later
Diffstat (limited to 'net-misc/dhcpv6')
-rw-r--r--net-misc/dhcpv6/files/dhcp6s.rc32
1 files changed, 16 insertions, 16 deletions
diff --git a/net-misc/dhcpv6/files/dhcp6s.rc b/net-misc/dhcpv6/files/dhcp6s.rc
index fa97e4c0d736..8b9ec39c5f22 100644
--- a/net-misc/dhcpv6/files/dhcp6s.rc
+++ b/net-misc/dhcpv6/files/dhcp6s.rc
@@ -1,31 +1,31 @@
#!/sbin/runscript
-# Copyright 1999-2003 Gentoo Technologies, Inc.
-# Distributed under the terms of the GNU General Public License, v2 or later
-# $Header: /var/cvsroot/gentoo-x86/net-misc/dhcpv6/files/dhcp6s.rc,v 1.1 2003/06/18 02:30:28 latexer Exp $
+# Copyright 1999-2004 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-misc/dhcpv6/files/dhcp6s.rc,v 1.2 2004/03/06 03:33:06 vapier Exp $
#configuration is done in /etc/dhcp6s.conf
depend() {
- need net
+ need net
}
checkconfig() {
- if [ ! -e /etc/dhcp6s.conf ] ; then
- eerror "You need an /etc/dhcp6s.conf file to run dhcp6s"
- eerror "There is a sample conf file in /usr/share/doc/dhcpv6-0.7"
- return 1
- fi
+ if [ ! -e /etc/dhcp6s.conf ] ; then
+ eerror "You need an /etc/dhcp6s.conf file to run dhcp6s"
+ eerror "There is a sample conf file in /usr/share/doc/dhcpv6-0.7"
+ return 1
+ fi
}
start() {
- checkconfig || return 1
- ebegin "Starting dhcp6s"
- start-stop-daemon --start --quiet --exec /usr/sbin/dhcp6s
- eend $?
+ checkconfig || return 1
+ ebegin "Starting dhcp6s"
+ start-stop-daemon --start --quiet --exec /usr/sbin/dhcp6s
+ eend $?
}
stop() {
- ebegin "Stopping dhcp6s"
- start-stop-daemon --stop --quiet --exec /usr/sbin/dhcp6s
- eend $?
+ ebegin "Stopping dhcp6s"
+ start-stop-daemon --stop --quiet --exec /usr/sbin/dhcp6s
+ eend $?
}