summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthew Thode <prometheanfire@gentoo.org>2014-02-18 03:33:37 +0000
committerMatthew Thode <prometheanfire@gentoo.org>2014-02-18 03:33:37 +0000
commit2989757b239f8672fa87c2dbdd2f257ace6a9107 (patch)
treec26f1efafa6fb5d11bb9ff283c468e687617f5d0
parent'fix' for bug 483138 (diff)
downloadgentoo-2-2989757b239f8672fa87c2dbdd2f257ace6a9107.tar.gz
gentoo-2-2989757b239f8672fa87c2dbdd2f257ace6a9107.tar.bz2
gentoo-2-2989757b239f8672fa87c2dbdd2f257ace6a9107.zip
fixing bug 442608
(Portage version: 2.2.7/cvs/Linux x86_64, signed Manifest commit with key 0x2471eb3e40ac5ac3)
-rw-r--r--net-misc/radvd/ChangeLog5
-rw-r--r--net-misc/radvd/files/radvd-1.9.1.init12
2 files changed, 10 insertions, 7 deletions
diff --git a/net-misc/radvd/ChangeLog b/net-misc/radvd/ChangeLog
index 82ee6bb95145..d7327e6c5c9d 100644
--- a/net-misc/radvd/ChangeLog
+++ b/net-misc/radvd/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for net-misc/radvd
# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-misc/radvd/ChangeLog,v 1.114 2014/01/15 17:39:16 prometheanfire Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-misc/radvd/ChangeLog,v 1.115 2014/02/18 03:33:37 prometheanfire Exp $
+
+ 18 Feb 2014; Matthew Thode <prometheanfire@gentoo.org> files/radvd-1.9.1.init:
+ fixing bug 442608
*radvd-1.9.8 (15 Jan 2014)
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}"