Initial commit

This commit is contained in:
2026-02-02 04:50:13 +01:00
commit 5b11698731
22592 changed files with 7677434 additions and 0 deletions

View File

@@ -0,0 +1,25 @@
#!/bin/sh
real_xdg_runtime_dir=$(dirname "${XDG_RUNTIME_DIR}")
real_wayland=${real_xdg_runtime_dir}/${WAYLAND_DISPLAY:-wayland-0}
if [ ! -O "${real_wayland}" ]; then
# On core systems mir-kiosk may also need to create the host XDG_RUNTIME_DIR
if [ ! -O "${real_xdg_runtime_dir}" ]; then
echo waiting for host XDG_RUNTIME_DIR...
until [ -O "${real_xdg_runtime_dir}" ]
do
inotifywait --event create $(dirname "${real_xdg_runtime_dir}") || sleep 4
done
fi
echo waiting for Wayland socket...
until [ -O "${real_wayland}" ]
do
inotifywait --event create $(dirname "${real_wayland}") || sleep 4
done
echo ...waiting done
fi
exec "$@"