mirror of
https://github.com/novatiq/packages.git
synced 2026-04-30 07:28:39 +01:00
Import avahi from oldpackages
This commit is contained in:
@@ -0,0 +1,23 @@
|
||||
#!/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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user