summaryrefslogtreecommitdiffstats
path: root/abs/core-testing/avahi/avahi.install
diff options
context:
space:
mode:
authorJames Meyer <james.meyer@operamail.com>2010-10-23 18:17:40 (GMT)
committerJames Meyer <james.meyer@operamail.com>2010-10-23 18:19:39 (GMT)
commitadbcf19958300e9b6598990184c8815b945ba0ee (patch)
treef4283c850ac0ac202c17e78a637ee7ca8147621b /abs/core-testing/avahi/avahi.install
parent61a68250df10d29b624650948484898334ff22d0 (diff)
downloadlinhes_pkgbuild-adbcf19958300e9b6598990184c8815b945ba0ee.zip
linhes_pkgbuild-adbcf19958300e9b6598990184c8815b945ba0ee.tar.gz
linhes_pkgbuild-adbcf19958300e9b6598990184c8815b945ba0ee.tar.bz2
Removed old core and extra from repo. Renamed -testing to core/extra. This will setup the base for the testing branch.
Diffstat (limited to 'abs/core-testing/avahi/avahi.install')
-rw-r--r--abs/core-testing/avahi/avahi.install42
1 files changed, 0 insertions, 42 deletions
diff --git a/abs/core-testing/avahi/avahi.install b/abs/core-testing/avahi/avahi.install
deleted file mode 100644
index f0beca8..0000000
--- a/abs/core-testing/avahi/avahi.install
+++ /dev/null
@@ -1,42 +0,0 @@
-post_install() {
- echo -n "adding avahi system group... "
- groupadd -g 84 avahi && echo "done."
- echo -n "adding avahi system user... "
- useradd -c "Avahi daemon" -u 84 -d / -g avahi -s /bin/false avahi \
- && echo "done."
- passwd -l avahi &>/dev/null
-
- post_upgrade
- cat << 'EOM'
-==> 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-web for avahi-bookmarks.
-
-EOM
-}
-
-post_upgrade() {
- true
-}
-
-pre_remove() {
- # pre_remove gets called whenever post_remove is defined.
- true
-}
-
-post_remove() {
- # post_remove doesn't start at a newline like the other post_* functions,
- # so we'll have to make one for ourselves.
- echo -n -e "\nremoving avahi system user... "
- userdel avahi && echo "done."
-}
-
-op=$1
-shift
-$op $*