diff options
Diffstat (limited to 'network/radvd/rc.radvd.new')
-rw-r--r-- | network/radvd/rc.radvd.new | 6 |
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() { |