install in /usr instead of /usr/local/,
[openwrt.git] / package / avahi / files / avahi-daemon.init
1 #!/bin/sh
2
3 BIN=avahi-daemon
4 DEFAULT=/etc/default/$BIN
5 OPTIONS="-D"
6 RUN_D=/var/run/$BIN
7 [ -f $DEFAULT ] && . $DEFAULT
8
9 case $1 in
10 start)
11 mkdir -p $RUN_D
12 $BIN $OPTIONS
13 ;;
14 stop)
15 $BIN -k
16 ;;
17 reload)
18 $BIN -r
19 ;;
20 *)
21 echo "usage: $0 (start|stop|reload)"
22 exit 1
23 esac
24
25 exit $?
This page took 0.047877 seconds and 5 git commands to generate.