summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatt Thode <prometheanfire@gentoo.org>2014-02-18 03:33:44 +0000
committerMatt Thode <prometheanfire@gentoo.org>2014-02-18 03:33:44 +0000
commit6b6ec52c227ddf622b21a7f32d7ca96d5d76a692 (patch)
treea124cd4455f06889a91342237a95407e82783660 /net-misc/radvd/files
parent'fix' for bug 483138 (diff)
downloadhistorical-6b6ec52c227ddf622b21a7f32d7ca96d5d76a692.tar.gz
historical-6b6ec52c227ddf622b21a7f32d7ca96d5d76a692.tar.bz2
historical-6b6ec52c227ddf622b21a7f32d7ca96d5d76a692.zip
fixing bug 442608
Package-Manager: portage-2.2.7/cvs/Linux x86_64 Manifest-Sign-Key: 0x2471EB3E40AC5AC3
Diffstat (limited to 'net-misc/radvd/files')
-rw-r--r--net-misc/radvd/files/radvd-1.9.1.init12
1 files changed, 6 insertions, 6 deletions
diff --git a/net-misc/radvd/files/radvd-1.9.1.init b/net-misc/radvd/files/radvd-1.9.1.init
index 65e81c7f0caf..c44d8616577d 100644
--- a/net-misc/radvd/files/radvd-1.9.1.init
+++ b/net-misc/radvd/files/radvd-1.9.1.init
@@ -1,7 +1,7 @@
#!/sbin/runscript
-# Copyright 1999-2012 Gentoo Foundation
+# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-misc/radvd/files/radvd-1.9.1.init,v 1.1 2012/06/29 08:09:52 xmw Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-misc/radvd/files/radvd-1.9.1.init,v 1.2 2014/02/18 03:33:37 prometheanfire Exp $
CONFIGFILE=/etc/radvd.conf
PIDFILE=/var/run/radvd/radvd.pid
@@ -28,14 +28,14 @@ checkconfig() {
}
start() {
- checkconfig || return 1
-
if [ "${FORWARD}" != "no" ]; then
ebegin "Enabling IPv6 forwarding"
sysctl -w "${SYSCTL_FORWARD}=1" >/dev/null
eend $?
fi
+ checkconfig || return 1
+
ebegin "Starting IPv6 Router Advertisement Daemon"
start-stop-daemon --start --exec /usr/sbin/radvd \
--pidfile "${PIDFILE}" \
@@ -56,14 +56,14 @@ stop() {
}
reload() {
- checkconfig || return 1
-
if [ "${FORWARD}" != "no" ]; then
ebegin "Enabling IPv6 forwarding"
sysctl -w "${SYSCTL_FORWARD}=1" >/dev/null
eend $?
fi
+ checkconfig || return 1
+
ebegin "Reloading IPv6 Router Advertisement Daemon"
start-stop-daemon --signal HUP \
--exec /usr/sbin/radvd --pidfile "${PIDFILE}"