diff options
author | Leigh Wedding <leigh8904@gmail.com> | 2014-10-26 15:09:03 +0700 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2014-10-30 20:27:25 +0700 |
commit | d3e1cdea70e28c9e09031c89d6d1880e61c1391a (patch) | |
tree | af823393b9152e381c7a6f06612fc3f96d5a6f8b /network/radvd/rc.radvd.new | |
parent | 43126a6327f3a04221409a06967cad376b2a9870 (diff) |
network/radvd: Updated for version 2.8.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'network/radvd/rc.radvd.new')
-rw-r--r-- | network/radvd/rc.radvd.new | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/network/radvd/rc.radvd.new b/network/radvd/rc.radvd.new index a40ef8c4caeb4..9fbc597893315 100644 --- a/network/radvd/rc.radvd.new +++ b/network/radvd/rc.radvd.new @@ -5,22 +5,20 @@ # 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: /usr/sbin/radvd -u daemon" + echo "Starting radvd..." echo 1 > /proc/sys/net/ipv6/conf/all/forwarding - mkdir -p /var/run/radvd - chown daemon:daemon /var/run/radvd /usr/sbin/radvd -u daemon fi } radvd_stop() { - /bin/kill $(cat /var/run/radvd/radvd.pid 2>/dev/null) 2>/dev/null + /bin/kill $(cat /var/run/radvd/radvd.pid) } radvd_restart() { |