summaryrefslogtreecommitdiff
path: root/community/radvd/radvd.install
diff options
context:
space:
mode:
Diffstat (limited to 'community/radvd/radvd.install')
-rw-r--r--community/radvd/radvd.install28
1 files changed, 28 insertions, 0 deletions
diff --git a/community/radvd/radvd.install b/community/radvd/radvd.install
new file mode 100644
index 000000000..fc0b7f852
--- /dev/null
+++ b/community/radvd/radvd.install
@@ -0,0 +1,28 @@
+post_install() {
+cat << EOF
+
+To use radvd you must create the configuration file
+
+ /etc/radvd.conf
+
+An example configuration file has been installed at
+
+ /usr/share/doc/radvd/radvd.conf.example
+
+radvd requires IPv6 forwarding be enabled.
+To enable IPv6 forwarding at boot time,
+add the following line 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
+}
+
+op=$1
+shift
+$op $*