summaryrefslogtreecommitdiff
path: root/network/radvd/rc.radvd.new
diff options
context:
space:
mode:
authorRobby Workman <rworkman@slackbuilds.org>2014-08-24 13:45:37 -0500
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2014-08-30 14:21:28 +0700
commitb4a64411ee6a1218897bb37cbd283674f2f6cfd9 (patch)
treed097fbb63260c1bc9704378713af2de0e9e142a1 /network/radvd/rc.radvd.new
parent78710c0676e2de388b58ac7fb9e0b1f1d7479d3f (diff)
downloadslackbuilds-b4a64411ee6a1218897bb37cbd283674f2f6cfd9.tar.gz
network/radvd: Updated for version 1.15.
Signed-off-by: Robby Workman <rworkman@slackbuilds.org> Signed-off-by: Leigh Wedding <<leigh8904@gmail.com>
Diffstat (limited to 'network/radvd/rc.radvd.new')
-rw-r--r--network/radvd/rc.radvd.new6
1 files changed, 3 insertions, 3 deletions
diff --git a/network/radvd/rc.radvd.new b/network/radvd/rc.radvd.new
index a68c057eab..a40ef8c4ca 100644
--- a/network/radvd/rc.radvd.new
+++ b/network/radvd/rc.radvd.new
@@ -5,13 +5,13 @@
# Start/stop/restart the radvd daemon.
if ! [ -f /proc/net/if_inet6 ]; then
- echo "IPv6 support not found, exiting"
+ echo "IPv6 support not found; exiting..."
exit 1
fi
radvd_start() {
if [ -x /usr/sbin/radvd ]; then
- echo "Starting radvd..."
+ echo "Starting radvd: /usr/sbin/radvd -u daemon"
echo 1 > /proc/sys/net/ipv6/conf/all/forwarding
mkdir -p /var/run/radvd
chown daemon:daemon /var/run/radvd
@@ -20,7 +20,7 @@ radvd_start() {
}
radvd_stop() {
- /bin/kill $(cat /var/run/radvd/radvd.pid)
+ /bin/kill $(cat /var/run/radvd/radvd.pid 2>/dev/null) 2>/dev/null
}
radvd_restart() {