mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-08-03 16:07:51 +00:00
xorg-server: add function to wait for started Xorg
Signed-off-by: Stephan Raue <stephan@openelec.tv>
This commit is contained in:
parent
e86c0a2c25
commit
e32ca3ccba
@ -8,3 +8,9 @@
|
|||||||
DISPLAY=":0.0"
|
DISPLAY=":0.0"
|
||||||
|
|
||||||
export DISPLAY
|
export DISPLAY
|
||||||
|
|
||||||
|
wait_for_xorg () {
|
||||||
|
while [ ! -f /tmp/.X0-lock ]; do
|
||||||
|
usleep 200000
|
||||||
|
done
|
||||||
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user