Upgrade to mutt-1.5.11, fixes gcc-4 specific errors, close #426
[openwrt.git] / package / mrd6 / files / mrd6.init
1 #!/bin/sh
2
3 case $1 in
4 start)
5 /sbin/lsmod | grep ipv6 > /dev/null
6 if [ "$?" != "0" ]
7 then
8 echo -n "IPv6 stack required by mrd6. Loading ipv6 module: "
9 /sbin/insmod ipv6
10 echo "Done."
11 fi
12 echo -n "Starting IPv6 multicast router (mrd6): "
13 /usr/sbin/mrd6 -f /etc/mrd6.conf -D
14 echo "Done."
15 ;;
16 stop)
17 echo -n "Stopping IPv6 multicast router (mrd6): "
18 killall mrd6
19 echo "Done."
20 ;;
21 restart)
22 $0 stop
23 $0 start
24 ;;
25 *)
26 echo "Usage: $0 {start | stop | restart}"
27 ;;
28 esac
29 exit 0
This page took 0.04781 seconds and 5 git commands to generate.