summaryrefslogtreecommitdiff
path: root/network/avahi/doinst.sh
diff options
context:
space:
mode:
Diffstat (limited to 'network/avahi/doinst.sh')
-rw-r--r--network/avahi/doinst.sh7
1 files changed, 5 insertions, 2 deletions
diff --git a/network/avahi/doinst.sh b/network/avahi/doinst.sh
index 573ecf08fa..a6a2efd52c 100644
--- a/network/avahi/doinst.sh
+++ b/network/avahi/doinst.sh
@@ -1,5 +1,3 @@
-#!/bin/sh
-
config() {
NEW="$1"
OLD="$(dirname $NEW)/$(basename $NEW .new)"
@@ -36,3 +34,8 @@ if [ -x /usr/bin/update-desktop-database ]; then
/usr/bin/update-desktop-database -q usr/share/applications >/dev/null 2>&1
fi
+# Reload messagebus service
+if [ -x etc/rc.d/rc.messagebus ]; then
+ chroot . /etc/rc.d/rc.messagebus reload
+fi
+