wayland: add init script

This commit is contained in:
Stephan Raue 2009-09-21 10:19:59 +02:00
parent d8601707f0
commit db6dd1a060

View 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