From a6859d94cd78421addab767d7718527f09f34b25 Mon Sep 17 00:00:00 2001 From: Manuel Segarra-Abad Date: Tue, 12 Mar 2024 15:36:53 +0200 Subject: [PATCH] Remove udev restart and use the daemon directly --- entrypoint.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/entrypoint.sh b/entrypoint.sh index 5d7a388..0d4efe9 100755 --- a/entrypoint.sh +++ b/entrypoint.sh @@ -57,7 +57,7 @@ fi # The reason is that depthai camera switches to onboard processor when initialized, and causing USB device name changed. # Old version with ubuntu base worked OK for hotplug, but this one does not. # This could cause problem on the host machine, causing some USB devices to disconnect and require a unplug-replug. -/etc/init.d/udev start +/sbin/udevd -d mode="${1}" if [ "${mode}" = "gstreamer" ]; then ros-with-env ros2 run depthai_ctrl gstreamer_node \