summaryrefslogtreecommitdiffstats
path: root/meta/recipes-graphics/wayland
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-graphics/wayland')
-rwxr-xr-xmeta/recipes-graphics/wayland/weston-init/weston-start7
1 files changed, 6 insertions, 1 deletions
diff --git a/meta/recipes-graphics/wayland/weston-init/weston-start b/meta/recipes-graphics/wayland/weston-init/weston-start
index 4aa7c66d3b..72ba4b7079 100755
--- a/meta/recipes-graphics/wayland/weston-init/weston-start
+++ b/meta/recipes-graphics/wayland/weston-init/weston-start
@@ -31,6 +31,11 @@ if [ -n "$WAYLAND_DISPLAY" ]; then
31 echo "ERROR: A Wayland compositor is already running, nested Weston instance is not supported yet." 31 echo "ERROR: A Wayland compositor is already running, nested Weston instance is not supported yet."
32 exit 1 32 exit 1
33fi 33fi
34if [ -n "$DISPLAY" ]; then
35 launcher="weston"
36else
37 launcher="weston-launch --"
38fi
34 39
35openvt_args="" 40openvt_args=""
36while [ -n "$1" ]; do 41while [ -n "$1" ]; do
@@ -64,4 +69,4 @@ if test -z "$XDG_RUNTIME_DIR"; then
64 chmod 0700 $XDG_RUNTIME_DIR 69 chmod 0700 $XDG_RUNTIME_DIR
65fi 70fi
66 71
67exec openvt $openvt_args -- weston $weston_args --log=/var/log/weston.log 72exec openvt $openvt_args -- $launcher $weston_args --log=/var/log/weston.log