summaryrefslogtreecommitdiff
path: root/network/radvd/rc.radvd.new
diff options
context:
space:
mode:
authorSean Donner <sean.donner@gmail.com>2010-05-13 00:38:08 +0200
committerRobby Workman <rworkman@slackbuilds.org>2010-05-13 00:38:08 +0200
commit6ba5faeff93c5be66c8b9d766bb0ebb9e9007ff2 (patch)
treef60f45ff0191dcde56ed78bee24c5fcb4fd7f184 /network/radvd/rc.radvd.new
parent74836a4355f73dc7b9150f9111884e6340fb4cf5 (diff)
downloadslackbuilds-6ba5faeff93c5be66c8b9d766bb0ebb9e9007ff2.tar.gz
network/radvd: Updated for version 1.5
Diffstat (limited to 'network/radvd/rc.radvd.new')
-rw-r--r--network/radvd/rc.radvd.new5
1 files changed, 2 insertions, 3 deletions
diff --git a/network/radvd/rc.radvd.new b/network/radvd/rc.radvd.new
index 617a82b543..9fbc597893 100644
--- a/network/radvd/rc.radvd.new
+++ b/network/radvd/rc.radvd.new
@@ -3,10 +3,9 @@
# /etc/rc.d/rc.radvd
#
# 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
@@ -20,7 +19,6 @@ radvd_start() {
radvd_stop() {
/bin/kill $(cat /var/run/radvd/radvd.pid)
- rm -f /var/run/radvd/radvd.pid
}
radvd_restart() {
@@ -42,3 +40,4 @@ case "$1" in
*)
echo "usage $0 start|stop|restart"
esac
+