summaryrefslogtreecommitdiffstats
path: root/source/a/pkgtools/scripts/setup.services
diff options
context:
space:
mode:
Diffstat (limited to 'source/a/pkgtools/scripts/setup.services')
-rw-r--r--source/a/pkgtools/scripts/setup.services24
1 files changed, 23 insertions, 1 deletions
diff --git a/source/a/pkgtools/scripts/setup.services b/source/a/pkgtools/scripts/setup.services
index 768254329..a2bf6281c 100644
--- a/source/a/pkgtools/scripts/setup.services
+++ b/source/a/pkgtools/scripts/setup.services
@@ -42,6 +42,28 @@ if [ -r etc/rc.d/rc.atd ]; then
EOF
fi
+if [ -r etc/rc.d/rc.avahidaemon ]; then
+ if [ -x etc/rc.d/rc.avahidaemon ]; then
+ RC_AVAHIDAEMON=on
+ else
+ RC_AVAHIDAEMON=off
+ fi
+ cat << EOF >> $TMP/tmpscript
+ "rc.avahidaemon" "Zeroconf implementation" $AVAHIDAEMON "Avahi is a system which facilitates service discovery on a local network." \\
+EOF
+fi
+
+if [ -r etc/rc.d/rc.avahidnsconfd ]; then
+ if [ -x etc/rc.d/rc.avahidnsconfd ]; then
+ RC_AVAHIDNDCONFD=on
+ else
+ RC_AVAHIDNDCONFD=off
+ fi
+ cat << EOF >> $TMP/tmpscript
+ "rc.avahidnsconfd" "Unicast DNS server for Avahi" $RC_AVAHIDNDCONFD "Queries the LAN for DNS servers that can be listed in /etc/resolv.conf." \\
+EOF
+fi
+
if [ -r etc/rc.d/rc.bind ]; then
if [ -x etc/rc.d/rc.bind ]; then
RC_BIND=on
@@ -361,7 +383,7 @@ if [ ! $? = 0 ]; then
exit
fi
-for service in rc.atalk rc.atd rc.bind rc.crond rc.cups rc.dovecot rc.dnsmasq rc.fuse rc.hald rc.hplip rc.httpd rc.inetd rc.ip_forward rc.lprng rc.messagebus rc.mysqld rc.nfsd rc.ntpd rc.openldap rc.openvpn rc.pcmcia rc.postfix rc.rpc rc.samba rc.saslauthd rc.smartd rc.snmpd rc.sendmail rc.syslog rc.sshd ; do
+for service in rc.atalk rc.atd rc.avahidaemon rc.avahidnsconfd rc.bind rc.crond rc.cups rc.dovecot rc.dnsmasq rc.fuse rc.hald rc.hplip rc.httpd rc.inetd rc.ip_forward rc.lprng rc.messagebus rc.mysqld rc.nfsd rc.ntpd rc.openldap rc.openvpn rc.pcmcia rc.postfix rc.rpc rc.samba rc.saslauthd rc.smartd rc.snmpd rc.sendmail rc.syslog rc.sshd ; do
if [ -f etc/rc.d/$service ]; then
if grep -w $service $TMP/reply 1> /dev/null ; then
chmod 755 etc/rc.d/$service