summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGuy Martin <gmsoft@gentoo.org>2003-04-21 15:11:30 +0000
committerGuy Martin <gmsoft@gentoo.org>2003-04-21 15:11:30 +0000
commitb1313f49ca434b0f2b95b31389c2d7580f971783 (patch)
tree3e936276d032771d19549e3e4d04dac49c83d015 /net-misc/radvd/files
parentfinally, evo-1.3.2 (diff)
downloadgentoo-2-b1313f49ca434b0f2b95b31389c2d7580f971783.tar.gz
gentoo-2-b1313f49ca434b0f2b95b31389c2d7580f971783.tar.bz2
gentoo-2-b1313f49ca434b0f2b95b31389c2d7580f971783.zip
Corrected ownership of /var/run/radvd. Fix #19647. Marked stable for x86 and hppa.
Diffstat (limited to 'net-misc/radvd/files')
-rw-r--r--net-misc/radvd/files/digest-radvd-0.7.2-r11
-rw-r--r--net-misc/radvd/files/radvd4
2 files changed, 4 insertions, 1 deletions
diff --git a/net-misc/radvd/files/digest-radvd-0.7.2-r1 b/net-misc/radvd/files/digest-radvd-0.7.2-r1
new file mode 100644
index 000000000000..e70ec263610e
--- /dev/null
+++ b/net-misc/radvd/files/digest-radvd-0.7.2-r1
@@ -0,0 +1 @@
+MD5 26ea468b2323e44cf827ae5f84d18dc8 radvd-0.7.2.tar.gz 116442
diff --git a/net-misc/radvd/files/radvd b/net-misc/radvd/files/radvd
index 5923ea6fda09..1687ea32bdb7 100644
--- a/net-misc/radvd/files/radvd
+++ b/net-misc/radvd/files/radvd
@@ -1,7 +1,7 @@
#!/sbin/runscript
# Copyright 1999-2003 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-misc/radvd/files/radvd,v 1.2 2003/02/14 23:07:53 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-misc/radvd/files/radvd,v 1.3 2003/04/21 15:11:30 gmsoft Exp $
depend () {
need net
@@ -9,12 +9,14 @@ depend () {
start () {
ebegin "Starting radvd"
+ echo 1 > /proc/sys/net/ipv6/conf/all/forwarding
start-stop-daemon --start --quiet --exec /usr/sbin/radvd -- -u radvd -p /var/run/radvd/radvd.pid
eend
}
stop() {
ebegin "Stopping radvd"
+ echo 0 > /proc/sys/net/ipv6/conf/all/forwarding
start-stop-daemon --stop --quiet --pidfile /var/run/radvd/radvd.pid
eend
}