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-start14
1 files changed, 7 insertions, 7 deletions
diff --git a/meta/recipes-graphics/wayland/weston-init/weston-start b/meta/recipes-graphics/wayland/weston-init/weston-start
index e72fbaaac4..d631c2f1e9 100755
--- a/meta/recipes-graphics/wayland/weston-init/weston-start
+++ b/meta/recipes-graphics/wayland/weston-init/weston-start
@@ -5,8 +5,8 @@
5export PATH="/sbin:/usr/sbin:/bin:/usr/bin" 5export PATH="/sbin:/usr/sbin:/bin:/usr/bin"
6 6
7usage() { 7usage() {
8 cat <<EOF 8 cat <<EOF
9 $0 [<openvt arguments>] [-- <weston options>] 9 $0 [<openvt arguments>] [-- <weston options>]
10EOF 10EOF
11} 11}
12 12
@@ -59,11 +59,11 @@ if [ -d "$modules_dir" ]; then
59fi 59fi
60 60
61if test -z "$XDG_RUNTIME_DIR"; then 61if test -z "$XDG_RUNTIME_DIR"; then
62 export XDG_RUNTIME_DIR=/run/user/`id -u` 62 export XDG_RUNTIME_DIR=/run/user/`id -u`
63 if ! test -d "$XDG_RUNTIME_DIR"; then 63 if ! test -d "$XDG_RUNTIME_DIR"; then
64 mkdir --parents $XDG_RUNTIME_DIR 64 mkdir --parents $XDG_RUNTIME_DIR
65 chmod 0700 $XDG_RUNTIME_DIR 65 chmod 0700 $XDG_RUNTIME_DIR
66 fi 66 fi
67fi 67fi
68 68
69exec openvt $openvt_args -- $launcher $weston_args --log=@LOCALSTATEDIR@/log/weston.log 69exec openvt $openvt_args -- $launcher $weston_args --log=@LOCALSTATEDIR@/log/weston.log