diff options
author | Parabola <dev@list.parabolagnulinux.org> | 2012-04-03 14:54:55 +0000 |
---|---|---|
committer | Parabola <dev@list.parabolagnulinux.org> | 2012-04-03 14:54:55 +0000 |
commit | b618c3d0693aec564c6746238fd05d94e31d3b76 (patch) | |
tree | 4a4834f3097bba25dba1adeba4324080c1b4bf7b /community/radvd | |
parent | 8cb5196780766f47b595410eed8ddbee2e8add08 (diff) |
Tue Apr 3 14:54:45 UTC 2012
Diffstat (limited to 'community/radvd')
-rw-r--r-- | community/radvd/radvd.install | 28 | ||||
-rw-r--r-- | community/radvd/radvd.rc.d | 38 |
2 files changed, 0 insertions, 66 deletions
diff --git a/community/radvd/radvd.install b/community/radvd/radvd.install deleted file mode 100644 index fc0b7f852..000000000 --- a/community/radvd/radvd.install +++ /dev/null @@ -1,28 +0,0 @@ -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 $* diff --git a/community/radvd/radvd.rc.d b/community/radvd/radvd.rc.d deleted file mode 100644 index f8c9ea571..000000000 --- a/community/radvd/radvd.rc.d +++ /dev/null @@ -1,38 +0,0 @@ -#!/bin/bash - -### /etc/rc.d/radvd: Initscript for radvd Daemon - -. /etc/rc.conf -. /etc/rc.d/functions - -PID=`pidof -o %PPID /usr/sbin/radvd` -case "$1" in - start) - stat_busy "Starting radvd Daemon" - [ -z "$PID" ] && \ - /usr/sbin/radvd &> /dev/null - if [ $? -gt 0 ]; then - stat_fail - else stat_done; add_daemon radvd - echo $PID > /var/run/radvd.pid - fi ;; - stop) - stat_busy "Stopping radvd Daemon" - [ ! -z "$PID" ] \ - && kill $PID &>/dev/null - if [ $? -gt 0 ]; then - stat_fail - else - stat_done; rm_daemon radvd - fi ;; - restart) - $0 stop - sleep 1 - $0 start ;; - *) - echo "usage: $0 {start|stop|restart}" -esac - -exit 0 - -### /etc/rc.d/radvd: Initscript for radvd Daemon |