add aiccu, bwm, ntpclient and radvd (from Sebastian Noel)
[openwrt-10.03/.git] / package / radvd / files / S51radvd
1 #!/bin/sh
2
3 case "$1" in
4     start)
5         echo 1 > /proc/sys/net/ipv6/conf/all/forwarding
6         /usr/sbin/radvd
7         ;;
8
9     stop)
10         killall radvd
11         echo 0 > /proc/sys/net/ipv6/conf/all/forwarding
12         ;;
13
14     restart)
15         $0 stop
16         $0 start
17         ;;
18     *)
19         echo "Usage: $0 {start|stop|restart}"
20         exit 1
21         ;;
22 esac