diff options
author | root <root@rshg047.dnsready.net> | 2011-06-08 22:47:34 +0000 |
---|---|---|
committer | root <root@rshg047.dnsready.net> | 2011-06-08 22:47:34 +0000 |
commit | 498f3fc095103b2a220a00b27d43f4dae02d5459 (patch) | |
tree | 55388e1d28b8932880c45fa77f1b4547f521f8df /testing/avahi/avahi.install | |
parent | 4d91fc9a2dc38054b8748f27193dc3a6950bda3c (diff) |
Wed Jun 8 22:47:33 UTC 2011
Diffstat (limited to 'testing/avahi/avahi.install')
-rw-r--r-- | testing/avahi/avahi.install | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/testing/avahi/avahi.install b/testing/avahi/avahi.install new file mode 100644 index 000000000..7c75c3dd4 --- /dev/null +++ b/testing/avahi/avahi.install @@ -0,0 +1,21 @@ +post_install() { + getent group avahi &>/dev/null || groupadd -r -g 84 avahi >/dev/null + getent passwd avahi &>/dev/null || useradd -r -u 84 -g avahi -d / -s /bin/false -c avahi avahi >/dev/null + + cat <<EOF +==> The following daemons may be added to DAEMONS in /etc/rc.conf: +==> avahi-daemon: the mdns responder, you probably want this. +==> dbus needs to be running when you start it. +==> avahi-dnsconfd: daemon used for peer-to-peer automatic dns +==> configuration on dhcp-less networks. + +==> To use some of the client applications you will have to install python. +==> In addition, pygtk is required for the graphical ones and +==> twisted for avahi-bookmarks. +EOF +} + +post_remove() { + getent passwd avahi &>/dev/null && userdel avahi >/dev/null + getent group avahi &>/dev/null && groupdel avahi >/dev/null +} |