menu fixes
This commit is contained in:
@@ -986,7 +986,7 @@ remove_everything() {
|
|||||||
}
|
}
|
||||||
utility_menu() {
|
utility_menu() {
|
||||||
PS3='Select an option: '
|
PS3='Select an option: '
|
||||||
options=("Instance Status" "USB Port Testing" "Sync Users" "Quit")
|
options=("Instance Status" "USB Port Testing" "Sync Users" "Share Uploads" "Quit")
|
||||||
select opt in "${options[@]}"
|
select opt in "${options[@]}"
|
||||||
do
|
do
|
||||||
case $opt in
|
case $opt in
|
||||||
@@ -1069,6 +1069,8 @@ restart_all() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
sync_users() {
|
sync_users() {
|
||||||
|
echo
|
||||||
|
echo "This will sync all the users from one instance to all the other instances."
|
||||||
PS3='Select instance that contains current user list: '
|
PS3='Select instance that contains current user list: '
|
||||||
readarray -t options < <(cat /etc/octoprint_instances | sed -n -e 's/^instance:\([[:graph:]]*\) .*/\1/p')
|
readarray -t options < <(cat /etc/octoprint_instances | sed -n -e 's/^instance:\([[:graph:]]*\) .*/\1/p')
|
||||||
options+=("Quit")
|
options+=("Quit")
|
||||||
|
|||||||
Reference in New Issue
Block a user