summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2004-03-06 03:33:06 +0000
committerMike Frysinger <vapier@gentoo.org>2004-03-06 03:33:06 +0000
commit49bd6bb2cc031a4985c85b195bb2c2d937324f3e (patch)
tree8794ba72e0a6b89258e9c6cec4e2a16c3aa14e17 /net-misc/dhcpv6
parentwe license under gpl2, not gpl2 or later (diff)
downloadgentoo-2-49bd6bb2cc031a4985c85b195bb2c2d937324f3e.tar.gz
gentoo-2-49bd6bb2cc031a4985c85b195bb2c2d937324f3e.tar.bz2
gentoo-2-49bd6bb2cc031a4985c85b195bb2c2d937324f3e.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 $?
}