diff --git a/recipes-graphics/wayland/weston-init/weston-start b/recipes-graphics/wayland/weston-init/weston-start index 50745e3..466f74a 100755 --- a/recipes-graphics/wayland/weston-init/weston-start +++ b/recipes-graphics/wayland/weston-init/weston-start @@ -80,4 +80,8 @@ if test -z "$XDG_RUNTIME_DIR"; then fi fi export WESTON_FORCE_DRI=1 -exec openvt $openvt_args -- $launcher $weston_args --log=var/log/weston.log --config=/etc/aml-weston-hdmi.ini --socket=wayland-0 +if cat /proc/cmdline | grep mipi_lcd_exist=1; then + exec openvt $openvt_args -- $launcher $weston_args --log=var/log/weston.log --config=/etc/aml-weston.ini --socket=wayland-0 +else + exec openvt $openvt_args -- $launcher $weston_args --log=var/log/weston.log --config=/etc/aml-weston-hdmi.ini --socket=wayland-0 +fi \ No newline at end of file