summaryrefslogtreecommitdiffstats
path: root/abs/core/avahi/avahi-daemon-dbus.patch
diff options
context:
space:
mode:
Diffstat (limited to 'abs/core/avahi/avahi-daemon-dbus.patch')
-rw-r--r--abs/core/avahi/avahi-daemon-dbus.patch19
1 files changed, 7 insertions, 12 deletions
diff --git a/abs/core/avahi/avahi-daemon-dbus.patch b/abs/core/avahi/avahi-daemon-dbus.patch
index fe82f41..a168f03 100644
--- a/abs/core/avahi/avahi-daemon-dbus.patch
+++ b/abs/core/avahi/avahi-daemon-dbus.patch
@@ -1,16 +1,11 @@
---- etc/rc.d/avahi-daemon 2010-02-26 21:10:30.000000000 -0600
-+++ etc/rc.d/avahi-daemon 2010-02-26 21:09:44.000000000 -0600
-@@ -35,8 +35,11 @@
+--- initscript/archlinux/avahi-daemon.in 2010-08-17 22:23:46.510293144 +0200
++++ initscript/archlinux/avahi-daemon.in 2010-08-17 22:46:58.110163026 +0200
+@@ -33,6 +35,8 @@
case "$1" in
start)
-- stat_busy "Starting $DESC"
-- $DAEMON -D > /dev/null 2>&1
-+ if ck_daemon dbus; then
-+ /etc/rc.d/dbus start
-+ fi
-+ stat_busy "Starting $DESC"
-+ modprobe capability > /dev/null 2>&1 ; $DAEMON -D > /dev/null 2>&1
++ ck_daemon dbus && /etc/rc.d/dbus start
++ modprobe capability &> /dev/null
+ stat_busy "Starting $DESC"
+ $DAEMON -D > /dev/null 2>&1
if [ $? -gt 0 ]; then
- stat_fail
- else