mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-29 13:46:49 +00:00
dbus: start as daemon. wait more in wait_for_dbus
This commit is contained in:
parent
2c2214b058
commit
b31da42a10
@ -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
|
||||
)
|
||||
|
@ -22,7 +22,7 @@
|
||||
|
||||
wait_for_dbus () {
|
||||
while [ ! -e /var/run/dbus/system_bus_socket ]; do
|
||||
usleep 200000
|
||||
usleep 1000000
|
||||
done
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user