summaryrefslogtreecommitdiff
path: root/openwrt/package/mrd6/files/mrd6.init
diff options
context:
space:
mode:
Diffstat (limited to 'openwrt/package/mrd6/files/mrd6.init')
-rwxr-xr-xopenwrt/package/mrd6/files/mrd6.init29
1 files changed, 0 insertions, 29 deletions
diff --git a/openwrt/package/mrd6/files/mrd6.init b/openwrt/package/mrd6/files/mrd6.init
deleted file mode 100755
index 886723f15e..0000000000
--- a/openwrt/package/mrd6/files/mrd6.init
+++ /dev/null
@@ -1,29 +0,0 @@
-#!/bin/sh
-
-case $1 in
-start)
- /sbin/lsmod | grep ipv6 > /dev/null
- if [ "$?" != "0" ]
- then
- echo -n "IPv6 stack required by mrd6. Loading ipv6 module: "
- /sbin/insmod ipv6
- echo "Done."
- fi
- echo -n "Starting IPv6 multicast router (mrd6): "
- /usr/sbin/mrd6 -f /etc/mrd6.conf -D
- echo "Done."
- ;;
-stop)
- echo -n "Stopping IPv6 multicast router (mrd6): "
- killall mrd6
- echo "Done."
- ;;
-restart)
- $0 stop
- $0 start
- ;;
-*)
- echo "Usage: $0 {start | stop | restart}"
- ;;
-esac
-exit 0