From 953368befe24437af41c0309263040ec6ce5d25d Mon Sep 17 00:00:00 2001 From: Florian Pritz Date: Tue, 13 Jul 2010 09:05:18 +0200 Subject: update Signed-off-by: Florian Pritz --- radvd/radvd.install | 57 +++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 57 insertions(+) create mode 100644 radvd/radvd.install (limited to 'radvd/radvd.install') diff --git a/radvd/radvd.install b/radvd/radvd.install new file mode 100644 index 0000000..c049cbd --- /dev/null +++ b/radvd/radvd.install @@ -0,0 +1,57 @@ +# arg 1: the new package version +pre_install() { + /bin/true +} + +# arg 1: the new package version +post_install() { + + cat << EOF + +NOTE +---- + +radvd requires IPv6 forwarding be enabled. To enable IPv6 forwarding at +boot time, add the following to /etc/sysctl.conf: + + # Enable IPv6 packet forwarding + net.ipv6.conf.all.forwarding = 1 + +or manually enable forwarding using: + + echo 1 > /proc/sys/net/ipv6/conf/all/forwarding + +EOF + + /bin/true + +} + +# arg 1: the new package version +# arg 2: the old package version +pre_upgrade() { + /bin/true +} + +# arg 1: the new package version +# arg 2: the old package version +post_upgrade() { + /bin/true +} + +# arg 1: the old package version +pre_remove() { + /bin/true +} + +# arg 1: the old package version +post_remove() { + + # clean up just in case + rm -f /var/run/radvd.pid + +} + +op=$1 +shift +$op $* -- cgit v1.2.3-24-g4f1b