Move radvd to ipv6 section
[openwrt/svn-archive/archive.git] / ipv6 / radvd / files / radvd.init
1 #!/bin/sh /etc/rc.common
2 # Copyright (C) 2006 OpenWrt.org
3
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 }