mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-27 20:56:55 +00:00
wayland: add init script
This commit is contained in:
parent
d8601707f0
commit
db6dd1a060
29
packages/other/wayland/init.d/65_wayland
Executable file
29
packages/other/wayland/init.d/65_wayland
Executable file
@ -0,0 +1,29 @@
|
|||||||
|
#!/bin/sh
|
||||||
|
#
|
||||||
|
# starting Wayland Displayserver
|
||||||
|
#
|
||||||
|
# runlevels: openelec, debug
|
||||||
|
|
||||||
|
. /etc/sysconfig
|
||||||
|
|
||||||
|
if test -f /usr/bin/wayland-system-compositor; then
|
||||||
|
|
||||||
|
progress "starting Wayland"
|
||||||
|
|
||||||
|
if test -f $OE_WAYLAND_BACKGROUND; then
|
||||||
|
wayland-system-compositor \
|
||||||
|
-b $OE_WAYLAND_BACKGROUND > /dev/null 2>&1 &
|
||||||
|
else
|
||||||
|
wayland-system-compositor > /dev/null 2>&1 &
|
||||||
|
fi
|
||||||
|
sleep 3 && flower &
|
||||||
|
sleep 3 && flower &
|
||||||
|
sleep 3 && flower &
|
||||||
|
sleep 3 && flower &
|
||||||
|
sleep 3 && flower &
|
||||||
|
sleep 3 && flower &
|
||||||
|
|
||||||
|
echo "*** debug shell - type exit to exit ***"
|
||||||
|
exec /bin/sh </dev/tty1 >/dev/tty1 2>&1
|
||||||
|
|
||||||
|
fi
|
Loading…
x
Reference in New Issue
Block a user