From d6ac4c24459f27d79c683efa3da01f436ff1fdb8 Mon Sep 17 00:00:00 2001 From: buanet Date: Tue, 29 Nov 2022 21:02:47 +0100 Subject: [PATCH] remove ls, change log output --- debian/scripts/iobroker_startup.sh | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/debian/scripts/iobroker_startup.sh b/debian/scripts/iobroker_startup.sh index 3459078..6147823 100644 --- a/debian/scripts/iobroker_startup.sh +++ b/debian/scripts/iobroker_startup.sh @@ -391,9 +391,8 @@ if [[ "$usbdevices" != "" && "$usbdevices" != "none" ]]; then if [[ "$debug" == "true" ]]; then echo "[DEBUG] Permissions set to: " $(ls -al $i); fi else echo "Looks like the device \""$i"\" does not exist." - ls -al $i - echo "Please check your container config and start over." - echo "For more information see ioBroker Docker Image Docs (https://docs.buanet.de/iobroker-docker-image/docs/)." + echo "Did you mount it correctly by using the \"--device\" flag?" + echo "For more information see ioBroker Docker Image Docs (https://docs.buanet.de/iobroker-docker-image/docs/#mounting-usb-devices)." stop_on_error fi done