Add rc scripts for avahi-dnsconfd and avahi-daemon.
ok robert@
This commit is contained in:
parent
edfc0085d4
commit
9ae19f1e0f
@ -1,4 +1,4 @@
|
||||
# $OpenBSD: Makefile,v 1.36 2010/10/24 21:30:01 ajacoutot Exp $
|
||||
# $OpenBSD: Makefile,v 1.37 2010/10/28 11:39:47 ajacoutot Exp $
|
||||
|
||||
COMMENT-main= framework for Multicast DNS Service Discovery
|
||||
COMMENT-gtk= GUI client utilities for avahi
|
||||
@ -16,7 +16,7 @@ PKGNAME-mono= mono-avahi-${V}
|
||||
PKGNAME-qt3= avahi-qt3-${V}
|
||||
PKGNAME-qt4= avahi-qt4-${V}
|
||||
|
||||
REVISION-main= 1
|
||||
REVISION-main= 2
|
||||
REVISION-gtk= 1
|
||||
REVISION-qt3= 0
|
||||
REVISION-qt4= 0
|
||||
|
@ -1,4 +1,4 @@
|
||||
@comment $OpenBSD: PLIST-main,v 1.5 2010/07/17 14:12:38 ajacoutot Exp $
|
||||
@comment $OpenBSD: PLIST-main,v 1.6 2010/10/28 11:39:47 ajacoutot Exp $
|
||||
@conflict howl-*
|
||||
@newgroup _avahi:629
|
||||
@newgroup _avahi-autoipd:630
|
||||
@ -170,3 +170,5 @@ share/locale/sv/LC_MESSAGES/avahi.mo
|
||||
share/locale/uk/LC_MESSAGES/avahi.mo
|
||||
share/locale/zh_CN/LC_MESSAGES/avahi.mo
|
||||
share/locale/zh_TW/LC_MESSAGES/avahi.mo
|
||||
@rcscript ${RCDIR}/avahi-daemon
|
||||
@rcscript ${RCDIR}/avahi-dnsconfd
|
||||
|
20
net/avahi/pkg/avahi-daemon.rc
Normal file
20
net/avahi/pkg/avahi-daemon.rc
Normal file
@ -0,0 +1,20 @@
|
||||
#!/bin/sh
|
||||
|
||||
. /etc/rc.d/rc.subr
|
||||
|
||||
daemon="${TRUEPREFIX}/sbin/avahi-daemon"
|
||||
daemon_flags="-D"
|
||||
|
||||
rc_check() {
|
||||
${daemon} --check
|
||||
}
|
||||
|
||||
rc_reload() {
|
||||
${daemon} --reload
|
||||
}
|
||||
|
||||
rc_stop() {
|
||||
${daemon} --kill
|
||||
}
|
||||
|
||||
rc_cmd $1
|
20
net/avahi/pkg/avahi-dnsconfd.rc
Normal file
20
net/avahi/pkg/avahi-dnsconfd.rc
Normal file
@ -0,0 +1,20 @@
|
||||
#!/bin/sh
|
||||
|
||||
. /etc/rc.d/rc.subr
|
||||
|
||||
daemon="${TRUEPREFIX}/sbin/avahi-dnsconfd"
|
||||
daemon_flags="-D"
|
||||
|
||||
rc_check() {
|
||||
${daemon} --check
|
||||
}
|
||||
|
||||
rc_reload() {
|
||||
${daemon} --refresh
|
||||
}
|
||||
|
||||
rc_stop() {
|
||||
${daemon} --kill
|
||||
}
|
||||
|
||||
rc_cmd $1
|
Loading…
x
Reference in New Issue
Block a user