dbus: start as daemon. wait more in wait_for_dbus

This commit is contained in:
Stefan Saraev 2013-08-21 21:05:18 +03:00
parent 2c2214b058
commit b31da42a10
2 changed files with 3 additions and 7 deletions

View File

@ -25,9 +25,5 @@
(
progress "Starting D-BUS"
while true; do
dbus-daemon --system --nofork &>/dev/null
rm /var/run/dbus/pid &>/dev/null
usleep 500000
done
)&
dbus-daemon --system &>/dev/null
)

View File

@ -22,7 +22,7 @@
wait_for_dbus () {
while [ ! -e /var/run/dbus/system_bus_socket ]; do
usleep 200000
usleep 1000000
done
}