update php-apc to 3.0.16, disable pthread mutex's as they are on by default now.
[openwrt/svn-archive/archive.git] / net / miredo / files / miredo-server.init
1 #!/bin/sh /etc/rc.common
2 # Copyright (C) 2006 OpenWrt.org
3 START=50
4
5 BIN=miredo-server
6 DEFAULT=/etc/default/$BIN
7 RUN_D=/var/run
8 PID_F=$RUN_D/$BIN.pid
9
10 start() {
11 [ -f $DEFAULT ] && . $DEFAULT
12 [ -d $RUN_D ] || mkdir -p $RUN_D
13 insmod ipv6
14 insmod tun
15 $BIN $OPTIONS
16 }
17
18 stop() {
19 [ -f $PID_F ] && kill $(cat $PID_F)
20 }