[Pkg-utopia-commits] r349 - packages/experimental/dbus/debian
Sjoerd Simons
sjoerd at costa.debian.org
Wed Nov 2 20:08:42 UTC 2005
Author: sjoerd
Date: 2005-11-02 20:08:41 +0000 (Wed, 02 Nov 2005)
New Revision: 349
Modified:
packages/experimental/dbus/debian/dbus.init
Log:
Use the fact that dbus now replies to ReloadConfig
Modified: packages/experimental/dbus/debian/dbus.init
===================================================================
--- packages/experimental/dbus/debian/dbus.init 2005-11-02 08:51:51 UTC (rev 348)
+++ packages/experimental/dbus/debian/dbus.init 2005-11-02 20:08:41 UTC (rev 349)
@@ -71,8 +71,9 @@
reload_it()
{
log_begin_msg "Reloading $DESC config"
- dbus-send --system --type=method_call --dest=org.freedesktop.DBus \
- / org.freedesktop.DBus.ReloadConfig 2> /dev/null && sleep 1
+ dbus-send --print-reply --system --type=method_call \
+ --dest=org.freedesktop.DBus \
+ / org.freedesktop.DBus.ReloadConfig > /dev/null
# hopefully this is enough time for dbus to reload it's config file.
log_end_msg $?
}
More information about the Pkg-utopia-commits
mailing list