diff options
author | Wolfram Schlich <wschlich@gentoo.org> | 2008-07-28 16:00:00 +0000 |
---|---|---|
committer | Wolfram Schlich <wschlich@gentoo.org> | 2008-07-28 16:00:00 +0000 |
commit | 3e379431ea5f377dcf5161f6fe9d7d87b4caccac (patch) | |
tree | 07cde2601154672615c9804d9277ebea670ce7fe /net-misc/radvd/files | |
parent | alpha/ia64/x86 stable wrt #212244 (diff) | |
download | gentoo-2-3e379431ea5f377dcf5161f6fe9d7d87b4caccac.tar.gz gentoo-2-3e379431ea5f377dcf5161f6fe9d7d87b4caccac.tar.bz2 gentoo-2-3e379431ea5f377dcf5161f6fe9d7d87b4caccac.zip |
fix metadata.xml, fix paths shown in pkg_postinst(), removed old versions
(Portage version: 2.1.5.6)
Diffstat (limited to 'net-misc/radvd/files')
-rw-r--r-- | net-misc/radvd/files/radvd-0.9-conf.d | 11 | ||||
-rw-r--r-- | net-misc/radvd/files/radvd-0.9-init.d | 46 |
2 files changed, 0 insertions, 57 deletions
diff --git a/net-misc/radvd/files/radvd-0.9-conf.d b/net-misc/radvd/files/radvd-0.9-conf.d deleted file mode 100644 index e4bab83ccabf..000000000000 --- a/net-misc/radvd/files/radvd-0.9-conf.d +++ /dev/null @@ -1,11 +0,0 @@ -# Copyright 1999-2005 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-misc/radvd/files/radvd-0.9-conf.d,v 1.1 2005/10/20 12:55:05 brix Exp $ - -# Extra options to pass to radvd -OPTIONS="" - -# Set this to "no" to tell the init script NOT to set up IPv6 forwarding -# using /proc/sys/net/ipv6/conf/all/forwarding -# Only change this if you know what you're doing! -FORWARD="yes" diff --git a/net-misc/radvd/files/radvd-0.9-init.d b/net-misc/radvd/files/radvd-0.9-init.d deleted file mode 100644 index 80fbb019d50a..000000000000 --- a/net-misc/radvd/files/radvd-0.9-init.d +++ /dev/null @@ -1,46 +0,0 @@ -#!/sbin/runscript -# Copyright 1999-2005 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-misc/radvd/files/radvd-0.9-init.d,v 1.1 2005/10/20 12:55:05 brix Exp $ - -CONFIGFILE=/etc/radvd.conf -PIDFILE=/var/run/radvd/radvd.pid -SYSCTL_FORWARD=net.ipv6.conf.all.forwarding - -depend () { - need net -} - -checkconfig() { - if [ ! -f ${CONFIGFILE} ]; then - eerror "Configuration file ${CONFIGFILE} not found" - return 1 - fi -} - -start () { - checkconfig || return 1 - - if [[ ${FORWARD} != "no" ]]; then - ebegin "Enabling IPv6 forwarding" - sysctl ${SYSCTL_FORWARD}=1 > /dev/null - eend ${?} - fi - - ebegin "Starting IPv6 Router Advertisement Daemon" - start-stop-daemon --start --quiet --exec /usr/sbin/radvd -- \ - -C ${CONFIGFILE} -p ${PIDFILE} -u radvd ${OPTIONS} - eend ${?} -} - -stop() { - ebegin "Stopping IPv6 Router Advertisement Daemon" - start-stop-daemon --stop --quiet --pidfile ${PIDFILE} - eend ${?} - - if [[ ${FORWARD} != "no" ]]; then - ebegin "Disabling IPv6 forwarding" - sysctl ${SYSCTL_FORWARD}=0 > /dev/null - eend ${?} - fi -} |