mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-24 11:16:51 +00:00
xbmc: init: move wait for dbus/udevadm/network before autostart.sh
This commit is contained in:
parent
5617ad7b83
commit
7de90c7658
@ -71,6 +71,15 @@ fi
|
||||
-i /storage/.xbmc/userdata/RssFeeds.xml
|
||||
fi
|
||||
|
||||
# wait for dbus to start
|
||||
wait_for_dbus
|
||||
|
||||
# wait for network
|
||||
wait_for_inet_addr
|
||||
|
||||
# wait for udevadm settle to finish
|
||||
wait_for_udevadm_settle
|
||||
|
||||
# starting autostart script (will be removed later again, dont use it!!!)
|
||||
AUTOSTART="/storage/.config/autostart.sh"
|
||||
if [ -f $AUTOSTART ]; then
|
||||
@ -81,17 +90,9 @@ fi
|
||||
sh $AUTOSTART
|
||||
fi
|
||||
|
||||
|
||||
wait_for_dbus
|
||||
|
||||
# waiting for Xorg to start
|
||||
wait_for_xorg
|
||||
|
||||
# wait for network
|
||||
wait_for_inet_addr
|
||||
|
||||
# wait for udevadm settle to finish
|
||||
wait_for_udevadm_settle
|
||||
|
||||
# prevent restrating XBMC at reboot or shutdown
|
||||
LOCKDIR="/var/lock/"
|
||||
|
Loading…
x
Reference in New Issue
Block a user