fix aiccu compile
[openwrt/svn-archive/archive.git] / admin / gkrellmd / files / gkrellmd.init
1 #!/bin/sh /etc/rc.common
2 # Copyright (C) 2007 OpenWrt.org
3
4 START=60
5 BIN=gkrellmd
6 RUN_D=/var/run
7 PID_F=$RUN_D/$BIN.pid
8
9 start() {
10 mkdir -p $RUN_D
11 $BIN $OPTIONS
12 }
13
14 stop() {
15 [ -f $PID_F ] && kill $(cat $PID_F)
16 }