0e180e68ae
git-svn-id: svn://svn.openwrt.org/openwrt/packages@17197 3c298f89-4303-0410-b956-a3cf2f4a3e73
16 lines
233 B
Bash
16 lines
233 B
Bash
#!/bin/sh /etc/rc.common
|
|
# Copyright (C) 2006 OpenWrt.org
|
|
START=50
|
|
|
|
PID_F=/var/run/miredo.pid
|
|
|
|
start() {
|
|
insmod ipv6 2>/dev/null
|
|
insmod tun 2>/dev/null
|
|
miredo -c /etc/miredo.conf
|
|
}
|
|
|
|
stop() {
|
|
[ -f $PID_F ] && kill $(cat $PID_F)
|
|
}
|