Disable Udev on unprivileged container

This commit is contained in:
Josh.5
2023-08-22 14:58:27 +12:00
committed by Josh Sunnex
parent ac7dc533e7
commit 5837843aa2
2 changed files with 17 additions and 7 deletions

View File

@@ -20,7 +20,9 @@ trap _term SIGTERM SIGINT
# EXECUTE PROCESS:
# Wait for udev
wait_for_udev
if [ $(grep autostart /etc/supervisor.d/udev.ini 2> /dev/null) == "autostart=true" ]; then
wait_for_udev
fi
# Run X server
/usr/bin/Xorg \
-ac \