triggerhappy: moved to github
[openwrt.org/packages.git] / libs / avahi-daemon.init
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
#!/bin/sh /etc/rc.common
# Copyright (C) 2006 OpenWrt.org
START=61

BIN=avahi-daemon
DEFAULT=/etc/default/$BIN
OPTIONS="-D"
RUN_D=/var/run/$BIN

start() {
	[ -f $DEFAULT ] && . $DEFAULT
	mkdir -p $RUN_D
	$BIN $OPTIONS
}

stop() {
  $BIN -k
}

reload() {
  $BIN -r
}


comments