Add net-snmp package
[openwrt.git] / package / radvd / files / radvd.init
1 #!/bin/sh
2
3 case "$1" in
4 start)
5 echo 1 > /proc/sys/net/ipv6/conf/all/forwarding
6 mkdir -p /var/log
7 mkdir -p /var/run
8 /usr/sbin/radvd
9 ;;
10
11 stop)
12 killall radvd
13 echo 0 > /proc/sys/net/ipv6/conf/all/forwarding
14 ;;
15
16 restart)
17 $0 stop
18 $0 start
19 ;;
20 *)
21 echo "Usage: $0 {start|stop|restart}"
22 exit 1
23 ;;
24 esac
This page took 0.055644 seconds and 5 git commands to generate.