mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-27 12:46:53 +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
|
-i /storage/.xbmc/userdata/RssFeeds.xml
|
||||||
fi
|
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!!!)
|
# starting autostart script (will be removed later again, dont use it!!!)
|
||||||
AUTOSTART="/storage/.config/autostart.sh"
|
AUTOSTART="/storage/.config/autostart.sh"
|
||||||
if [ -f $AUTOSTART ]; then
|
if [ -f $AUTOSTART ]; then
|
||||||
@ -81,17 +90,9 @@ fi
|
|||||||
sh $AUTOSTART
|
sh $AUTOSTART
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
||||||
wait_for_dbus
|
|
||||||
|
|
||||||
# waiting for Xorg to start
|
# waiting for Xorg to start
|
||||||
wait_for_xorg
|
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
|
# prevent restrating XBMC at reboot or shutdown
|
||||||
LOCKDIR="/var/lock/"
|
LOCKDIR="/var/lock/"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user