daemon scripts and bump subpackages that contain the *.rc scripts. discussed with and OK aja@ OK tb
22 lines
259 B
Bash
22 lines
259 B
Bash
#!/bin/ksh
|
|
#
|
|
# $OpenBSD: avahi_daemon.rc,v 1.8 2018/01/11 19:27:04 rpe Exp $
|
|
|
|
daemon="${TRUEPREFIX}/sbin/avahi-daemon -D"
|
|
|
|
. /etc/rc.d/rc.subr
|
|
|
|
rc_check() {
|
|
${daemon} --check
|
|
}
|
|
|
|
rc_reload() {
|
|
${daemon} --reload
|
|
}
|
|
|
|
rc_stop() {
|
|
${daemon} --kill
|
|
}
|
|
|
|
rc_cmd $1
|