Apply old udev handling like core container
# Start udev service
# ==============================================================================
-if bashio::fs.directory_exists /run/udev; then
+if bashio::fs.directory_exists /run/udev && ! bashio::fs.file_exists /run/.old_udev; then
bashio::log.info "Using udev information from host"
bashio::exit.ok
fi
-
bashio::log.info "Setup udev backend inside container"
udevd --daemon
+bashio::log.info "Update udev information"
+touch /run/.old_udev
if udevadm trigger; then
udevadm settle || true
else
