update readme

This commit is contained in:
paukstelis
2022-06-20 13:00:09 -04:00
parent 3e97c312a3
commit 2d00e19a74
2 changed files with 2 additions and 2 deletions

View File

@@ -49,7 +49,7 @@ These files provide a simple bash script for quickly deploying multiple octoprin
* Restart all non-template instances from the command line: `sudo octoprint_deploy/octoprint_deploy.sh restart_all`
* Change udev rules for an instance with `sudo octoprint_deploy/octoprint_deploy.sh replace`
# Recent Changes
* Added webcam restart to system commands during
* Added webcam restart to system commands during camera addition.
* Admin user and first run wizards during Prepare System.
* Better uuid uniquification
* ArchLinux support

View File

@@ -363,9 +363,9 @@ add_camera() {
if [ -z "$INSTANCE" ]; then
PS3='Select instance to add camera to: '
readarray -t options < <(cat /etc/octoprint_instances | sed -n -e 's/^instance:\([[:alnum:]]*\) .*/\1/p')
options+=("Quit")
#Not yet check to see if instance already has a camera
select camopt in "${options[@]}"
options+=("Quit")
do
if [ "$camopt" == generic ]; then
echo "Don't add cameras to the template instance."