diff --git a/src/modules/mjpgstreamer/filesystem/root/usr/local/bin/webcamd b/src/modules/mjpgstreamer/filesystem/root/usr/local/bin/webcamd index 59a1178..2009ffc 100755 --- a/src/modules/mjpgstreamer/filesystem/root/usr/local/bin/webcamd +++ b/src/modules/mjpgstreamer/filesystem/root/usr/local/bin/webcamd @@ -216,7 +216,7 @@ while true; do video_devices=($(find /dev -regextype sed -regex '\/dev/video[0-9]\+' | sort -nk1.11 2> /dev/null)) # add list of raspi camera into an array - if [ "`vcgencmd get_camera`" = "supported=1 detected=1" ]; then + if [[ "`vcgencmd get_camera`" = "supported=1 detected=1"* ]]; then video_devices+=( "raspi" ) fi