Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/guysoft/OctoPi.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGuy Sheffer <guysoft@gmail.com>2018-02-23 21:16:13 +0300
committerGitHub <noreply@github.com>2018-02-23 21:16:13 +0300
commitf8fc698110c5b8db51cf2faaebc267e7808a55da (patch)
treee8601fea756b70fd498f3efd89d06e65f4e941d0
parent9464e7bf7cadf588bda33ba5db4d531f5da5292e (diff)
parente521351a111f217b6eefb070cc79f5f6883f49b3 (diff)
Merge pull request #489 from bionik/multiplecamcheck
Fixed white space to fix setting the video_device_count variable
-rwxr-xr-xsrc/modules/octopi/filesystem/home/root/bin/webcamd2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/octopi/filesystem/home/root/bin/webcamd b/src/modules/octopi/filesystem/home/root/bin/webcamd
index 702d6a4..e11da35 100755
--- a/src/modules/octopi/filesystem/home/root/bin/webcamd
+++ b/src/modules/octopi/filesystem/home/root/bin/webcamd
@@ -121,7 +121,7 @@ vcgencmd version > /dev/null 2>&1
# keep mjpg streamer running if some camera is attached
while true; do
# get number of usb video devices
- video_device_count = $(ls /dev/video? 2> /dev/null | wc -l)
+ video_device_count=$(ls /dev/video? 2> /dev/null | wc -l)
if [ "$video_device_count" != "0" ] && { [ "$camera" = "auto" ] || [ "$camera" = "usb" ] ; }; then
startUsb
sleep 30 &