update readme
This commit is contained in:
@@ -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`
|
* 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`
|
* Change udev rules for an instance with `sudo octoprint_deploy/octoprint_deploy.sh replace`
|
||||||
# Recent Changes
|
# 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.
|
* Admin user and first run wizards during Prepare System.
|
||||||
* Better uuid uniquification
|
* Better uuid uniquification
|
||||||
* ArchLinux support
|
* ArchLinux support
|
||||||
|
|||||||
@@ -363,9 +363,9 @@ add_camera() {
|
|||||||
if [ -z "$INSTANCE" ]; then
|
if [ -z "$INSTANCE" ]; then
|
||||||
PS3='Select instance to add camera to: '
|
PS3='Select instance to add camera to: '
|
||||||
readarray -t options < <(cat /etc/octoprint_instances | sed -n -e 's/^instance:\([[:alnum:]]*\) .*/\1/p')
|
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
|
#Not yet check to see if instance already has a camera
|
||||||
select camopt in "${options[@]}"
|
select camopt in "${options[@]}"
|
||||||
options+=("Quit")
|
|
||||||
do
|
do
|
||||||
if [ "$camopt" == generic ]; then
|
if [ "$camopt" == generic ]; then
|
||||||
echo "Don't add cameras to the template instance."
|
echo "Don't add cameras to the template instance."
|
||||||
|
|||||||
Reference in New Issue
Block a user