diff options
| -rwxr-xr-x | meta/recipes-graphics/wayland/weston-init/weston-start | 14 |
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 @@ | |||
| 5 | export PATH="/sbin:/usr/sbin:/bin:/usr/bin" | 5 | export PATH="/sbin:/usr/sbin:/bin:/usr/bin" |
| 6 | 6 | ||
| 7 | usage() { | 7 | usage() { |
| 8 | cat <<EOF | 8 | cat <<EOF |
| 9 | $0 [<openvt arguments>] [-- <weston options>] | 9 | $0 [<openvt arguments>] [-- <weston options>] |
| 10 | EOF | 10 | EOF |
| 11 | } | 11 | } |
| 12 | 12 | ||
| @@ -59,11 +59,11 @@ if [ -d "$modules_dir" ]; then | |||
| 59 | fi | 59 | fi |
| 60 | 60 | ||
| 61 | if test -z "$XDG_RUNTIME_DIR"; then | 61 | if 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 |
| 67 | fi | 67 | fi |
| 68 | 68 | ||
| 69 | exec openvt $openvt_args -- $launcher $weston_args --log=@LOCALSTATEDIR@/log/weston.log | 69 | exec openvt $openvt_args -- $launcher $weston_args --log=@LOCALSTATEDIR@/log/weston.log |
