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-08-05 11:44:30 +00:00
|
|
|
|
2009-08-09 11:03:08 +00:00
|
|
|
PID_F=/var/run/miredo.pid
|
2006-08-05 11:44:30 +00:00
|
|
|
|
2006-10-04 20:57:49 +00:00
|
|
|
start() {
|
2009-08-09 11:03:08 +00:00
|
|
|
insmod ipv6 2>/dev/null
|
|
|
|
insmod tun 2>/dev/null
|
|
|
|
miredo -c /etc/miredo.conf
|
2006-10-04 20:57:49 +00:00
|
|
|
}
|
2006-08-05 11:44:30 +00:00
|
|
|
|
2006-10-04 20:57:49 +00:00
|
|
|
stop() {
|
|
|
|
[ -f $PID_F ] && kill $(cat $PID_F)
|
|
|
|
}
|