Skip to content

Commit

Permalink
✏️ Fix more typos
Browse files Browse the repository at this point in the history
  • Loading branch information
foosel committed Jun 29, 2021
1 parent 8d1e000 commit edfa365
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/modules/octopi/filesystem/home/root/bin/webcamd
Original file line number Diff line number Diff line change
Expand Up @@ -261,7 +261,7 @@ while true; do
elif containsString "$usb_device_path" "${video_devices[@]}"; then
array_camera_device[${i}]="$usb_device_path"
# explicitly set usb device was found in video_devices array, start usb with the found device
echo "config file='$camera_config':USB device was set in options and found in devices, start MJPG-streamer with the configured USB video device: $usb_device_path"
echo "config file='$camera_config':USB device was set in options and found in devices, starting MJPG-streamer with the configured USB video device: $usb_device_path"
startUsb "$usb_device_path"
continue
fi
Expand All @@ -274,7 +274,7 @@ while true; do
else
array_camera_device[${i}]="$video_device"
# device is not set explicitly in options, start usb with first found usb camera as the device
echo "config file='$camera_config':USB device was not set in options, start MJPG-streamer with the first found video device: ${video_device}"
echo "config file='$camera_config':USB device was not set in options, starting MJPG-streamer with the first found video device: ${video_device}"
startUsb "${video_device}"
break
fi
Expand All @@ -294,7 +294,7 @@ while true; do
fi
elif containsString "$video_device" "${video_devices[@]}"; then
array_camera_device[${i}]="$video_device"
echo "config file='$camera_config':Start MJPG-streamer with video device: ${video_device}"
echo "config file='$camera_config':Starting MJPG-streamer with video device: ${video_device}"
startRaspi
sleep 30 &
sleep_pid=$!
Expand Down

0 comments on commit edfa365

Please sign in to comment.