diff --git a/docker/hailo8l/user_installation.sh b/docker/hailo8l/user_installation.sh index 52e3eb95d..3c1f263b8 100644 --- a/docker/hailo8l/user_installation.sh +++ b/docker/hailo8l/user_installation.sh @@ -23,6 +23,13 @@ sudo make install # Load the Hailo PCI driver sudo modprobe hailo_pci +if [ $? -ne 0 ]; then + echo "Unable to load hailo_pci module, common reasons for this are:" + echo "- Key was rejected by service: Secure Boot is enabling disallowing install." + echo "- Permissions are not setup correctly." + exit 1 +fi + # Download and install the firmware cd ../../ ./download_firmware.sh