aboutsummaryrefslogtreecommitdiff
path: root/network/avahi/README.SBo
diff options
context:
space:
mode:
authorDavid Somero <dsomero@hotmail.com>2010-05-13 00:35:42 +0200
committerRobby Workman <rworkman@slackbuilds.org>2010-05-13 00:35:42 +0200
commitc7ad19ba1493f6f8d8a36aa8b55a4ffe86bfac8d (patch)
treeaeaffdfa4a5895c0ad65fecc72c46b10f71896a9 /network/avahi/README.SBo
parent3f8f2deb7ccd4cda38dd6e07dfb7cf97d3ded404 (diff)
network/avahi: Updated for version 0.6.25
Diffstat (limited to 'network/avahi/README.SBo')
-rw-r--r--network/avahi/README.SBo18
1 files changed, 18 insertions, 0 deletions
diff --git a/network/avahi/README.SBo b/network/avahi/README.SBo
index 7ed36c711e6e..d05e6bb6b91e 100644
--- a/network/avahi/README.SBo
+++ b/network/avahi/README.SBo
@@ -3,17 +3,23 @@ README.SBo (avahi)
First, be sure you have an "avahi" user and group. Do this *before*
you install the avahi package. We recommend uid/gid of 214, but
adjust as needed for your system. Something like this should suffice:
+
# groupadd -g 214 avahi
# useradd -u 214 -g 214 -c "Avahi User" -d /dev/null -s /bin/false avahi
+
Now start the Avahi daemon:
+
# /etc/rc.d/rc.avahidaemon start
Optionally start the unicast DNS configuration daemon:
+
# /etc/rc.d/rc.avahidnsconfd start
+
You will need to start avahi at boot by adding the following
to your /etc/rc.d/rc.local and make them executable:
+
# Start avahidaemon
if [ -x /etc/rc.d/rc.avahidaemon ]; then
/etc/rc.d/rc.avahidaemon start
@@ -23,3 +29,15 @@ to your /etc/rc.d/rc.local and make them executable:
/etc/rc.d/rc.avahidnsconfd start
fi
+You will also want to put the following into /etc/rc.d/rc.local_shutdown
+(if that file does not exist, create it and make it executable):
+
+ # Stop avahidnsconfd
+ if [ -x /etc/rc.d/rc.avahidnsconfd ]; then
+ /etc/rc.d/rc.avahidnsconfd stop
+ fi
+ # Stop avahidaemon
+ if [ -x /etc/rc.d/rc.avahidaemon ]; then
+ /etc/rc.d/rc.avahidaemon stop
+ fi
+