summaryrefslogtreecommitdiff
path: root/network/radvd/rc.radvd.new
diff options
context:
space:
mode:
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
+