Change libpcap, uniformize package makefile, put control file in ./ipkg
[openwrt.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 mkdir -p /var/run
7 /usr/sbin/radvd
8 ;;
9
10 stop)
11 killall radvd
12 echo 0 > /proc/sys/net/ipv6/conf/all/forwarding
13 ;;
14
15 restart)
16 $0 stop
17 $0 start
18 ;;
19 *)
20 echo "Usage: $0 {start|stop|restart}"
21 exit 1
22 ;;
23 esac
This page took 0.086874 seconds and 5 git commands to generate.