2006-10-04 20:57:49 +00:00
|
|
|
#!/bin/sh /etc/rc.common
|
|
|
|
# Copyright (C) 2006 OpenWrt.org
|
2007-05-10 10:38:53 +00:00
|
|
|
START=50
|
2006-07-24 18:42:41 +00:00
|
|
|
|
2006-10-04 20:57:49 +00:00
|
|
|
start() {
|
2006-07-24 18:42:41 +00:00
|
|
|
echo 1 > /proc/sys/net/ipv6/conf/all/forwarding
|
|
|
|
mkdir -p /var/log
|
|
|
|
mkdir -p /var/run
|
|
|
|
/usr/sbin/radvd
|
2006-10-04 20:57:49 +00:00
|
|
|
}
|
2006-07-24 18:42:41 +00:00
|
|
|
|
2006-10-04 20:57:49 +00:00
|
|
|
stop() {
|
2006-07-24 18:42:41 +00:00
|
|
|
killall radvd
|
|
|
|
echo 0 > /proc/sys/net/ipv6/conf/all/forwarding
|
2006-10-04 20:57:49 +00:00
|
|
|
}
|