Gentoo Archives: gentoo-commits

From: "Robin H. Johnson (robbat2)" <robbat2@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in net-misc/radvd/files: radvd.init
Date: Wed, 19 Nov 2008 00:00:27
Message-Id: E1L2aUa-0002jK-Id@stork.gentoo.org
1 robbat2 08/11/19 00:00:24
2
3 Modified: radvd.init
4 Log:
5 Bug #230105, remember -w to sysctl.
6 (Portage version: 2.2_rc14/cvs/Linux 2.6.28-rc5-00117-g7f0f598 x86_64)
7
8 Revision Changes Path
9 1.3 net-misc/radvd/files/radvd.init
10
11 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-misc/radvd/files/radvd.init?rev=1.3&view=markup
12 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-misc/radvd/files/radvd.init?rev=1.3&content-type=text/plain
13 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-misc/radvd/files/radvd.init?r1=1.2&r2=1.3
14
15 Index: radvd.init
16 ===================================================================
17 RCS file: /var/cvsroot/gentoo-x86/net-misc/radvd/files/radvd.init,v
18 retrieving revision 1.2
19 retrieving revision 1.3
20 diff -p -w -b -B -u -u -r1.2 -r1.3
21 --- radvd.init 9 Feb 2007 16:57:13 -0000 1.2
22 +++ radvd.init 19 Nov 2008 00:00:24 -0000 1.3
23 @@ -1,7 +1,7 @@
24 #!/sbin/runscript
25 # Copyright 1999-2005 Gentoo Foundation
26 # Distributed under the terms of the GNU General Public License v2
27 -# $Header: /var/cvsroot/gentoo-x86/net-misc/radvd/files/radvd.init,v 1.2 2007/02/09 16:57:13 uberlord Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/net-misc/radvd/files/radvd.init,v 1.3 2008/11/19 00:00:24 robbat2 Exp $
29
30 CONFIGFILE=/etc/radvd.conf
31 PIDFILE=/var/run/radvd/radvd.pid
32 @@ -25,7 +25,7 @@ start () {
33
34 if [ "${FORWARD}" != "no" ]; then
35 ebegin "Enabling IPv6 forwarding"
36 - sysctl "${SYSCTL_FORWARD}=1" >/dev/null
37 + sysctl -w "${SYSCTL_FORWARD}=1" >/dev/null
38 eend $?
39 fi
40
41 @@ -43,7 +43,7 @@ stop() {
42
43 if [ "${FORWARD}" != "no" ]; then
44 ebegin "Disabling IPv6 forwarding"
45 - sysctl "${SYSCTL_FORWARD}=0" > /dev/null
46 + sysctl -w "${SYSCTL_FORWARD}=0" > /dev/null
47 eend $?
48 fi
49 }
50 @@ -53,7 +53,7 @@ reload() {
51
52 if [ "${FORWARD}" != "no" ]; then
53 ebegin "Enabling IPv6 forwarding"
54 - sysctl "${SYSCTL_FORWARD}=1" >/dev/null
55 + sysctl -w "${SYSCTL_FORWARD}=1" >/dev/null
56 eend $?
57 fi