update mysql to 5.0 (fix #9)
[openwrt.git] / openwrt / package / howl / files / nifd.init
1 #!/bin/sh
2
3 DEFAULT=/etc/default/nifd
4 RUN_D=/var/run
5 PID_F=$RUN_D/nifd.pid
6
7 [ -f $DEFAULT ] && . $DEFAULT
8
9 case $1 in
10 start)
11 [ -d $RUN_D ] || mkdir -p $RUN_D
12 nifd $OPTIONS
13 ;;
14 stop)
15 [ -f $PID_F ] && kill $(cat $PID_F)
16 ;;
17 *)
18 echo "usage: $0 (start|stop)"
19 exit 1
20 esac
21 exit $?
This page took 0.044805 seconds and 5 git commands to generate.