diff options
| author | Britney Fransen <brfransen@gmail.com> | 2015-02-19 18:16:16 (GMT) |
|---|---|---|
| committer | Britney Fransen <brfransen@gmail.com> | 2015-02-19 18:16:16 (GMT) |
| commit | 8de064f6e96f960cdbfe6868d9957a4613f704df (patch) | |
| tree | 4e73a420991733450d013529c0fee60e0365297a /abs/core/avahi/install | |
| parent | 0374b16f1e15ba1819b62bd5a6e0076ac7b243d0 (diff) | |
| parent | 6fde8cd5e74f0840e01988e743464fe91c0a28f8 (diff) | |
| download | linhes_pkgbuild-8de064f6e96f960cdbfe6868d9957a4613f704df.zip linhes_pkgbuild-8de064f6e96f960cdbfe6868d9957a4613f704df.tar.gz linhes_pkgbuild-8de064f6e96f960cdbfe6868d9957a4613f704df.tar.bz2 | |
Merge branch 'testing'
Diffstat (limited to 'abs/core/avahi/install')
| -rw-r--r-- | abs/core/avahi/install | 22 |
1 files changed, 6 insertions, 16 deletions
diff --git a/abs/core/avahi/install b/abs/core/avahi/install index 7c75c3d..d4ae23e 100644 --- a/abs/core/avahi/install +++ b/abs/core/avahi/install @@ -1,21 +1,11 @@ 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 + 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 + true } post_remove() { - getent passwd avahi &>/dev/null && userdel avahi >/dev/null - getent group avahi &>/dev/null && groupdel avahi >/dev/null + getent passwd avahi &>/dev/null && userdel avahi >/dev/null + getent group avahi &>/dev/null && groupdel avahi >/dev/null + true } |
