fix bycamid
This commit is contained in:
@@ -187,7 +187,7 @@ add_camera() {
|
|||||||
unset CAM
|
unset CAM
|
||||||
fi
|
fi
|
||||||
#Failed state. Nothing detected
|
#Failed state. Nothing detected
|
||||||
if [ -z "$CAM" ] && [ -z "$TEMPUSBCAM" ] && [ -z "$BYIDCAM"]; then
|
if [ -z "$CAM" ] && [ -z "$TEMPUSBCAM" ] && [ -z "$BYIDCAM" ]; then
|
||||||
echo
|
echo
|
||||||
echo "${red}No camera was detected during the detection period.${white}"
|
echo "${red}No camera was detected during the detection period.${white}"
|
||||||
echo "Try again or try a different camera."
|
echo "Try again or try a different camera."
|
||||||
@@ -195,7 +195,7 @@ add_camera() {
|
|||||||
return
|
return
|
||||||
fi
|
fi
|
||||||
#only BYIDCAM
|
#only BYIDCAM
|
||||||
if [ -z "$CAM" ] && [ -z "$TEMPUSBCAM" ] && [ -n "$BYIDCAM"]; then
|
if [ -z "$CAM" ] && [ -z "$TEMPUSBCAM" ] && [ -n "$BYIDCAM" ]; then
|
||||||
echo "Camera was only detected as ${cyan}/dev/v4l/by-id${white} entry."
|
echo "Camera was only detected as ${cyan}/dev/v4l/by-id${white} entry."
|
||||||
echo "This will be used as the camera device identifier"
|
echo "This will be used as the camera device identifier"
|
||||||
fi
|
fi
|
||||||
|
|||||||
Reference in New Issue
Block a user