From db6dd1a060a61700ff53e5b090047408a81a86d0 Mon Sep 17 00:00:00 2001 From: Stephan Raue Date: Mon, 21 Sep 2009 10:19:59 +0200 Subject: [PATCH] wayland: add init script --- packages/other/wayland/init.d/65_wayland | 29 ++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100755 packages/other/wayland/init.d/65_wayland diff --git a/packages/other/wayland/init.d/65_wayland b/packages/other/wayland/init.d/65_wayland new file mode 100755 index 0000000000..cd82f86f88 --- /dev/null +++ b/packages/other/wayland/init.d/65_wayland @@ -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 2>&1 + +fi \ No newline at end of file