go back to previous behavior of copying only libatm.so.1 (not dereferencing the symlink)
[openwrt.git] / openwrt / 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.043006 seconds and 5 git commands to generate.