summarylogtreecommitdiffstats
path: root/install
diff options
context:
space:
mode:
authorBrian Bidulock2015-06-10 04:06:34 -0600
committerBrian Bidulock2015-06-10 04:06:34 -0600
commit75540f10fc59e5be27d7021d8be022ac74e6c82f (patch)
treee8cc35caeed3c3926e486787148e135614586bd2 /install
downloadaur-75540f10fc59e5be27d7021d8be022ac74e6c82f.tar.gz
initial version
Diffstat (limited to 'install')
-rw-r--r--install22
1 files changed, 22 insertions, 0 deletions
diff --git a/install b/install
new file mode 100644
index 000000000000..1db4754e33b5
--- /dev/null
+++ b/install
@@ -0,0 +1,22 @@
+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
+ true
+}