feat: KIAUH v4.0.0 #191
@@ -48,7 +48,7 @@ function moonraker_setup_dialog(){
|
|||||||
elif [ "${klipper_count}" -gt 1 ]; then
|
elif [ "${klipper_count}" -gt 1 ]; then
|
||||||
printf "|${green}%-55s${white}|\n" " ${klipper_count} Klipper instances were found!"
|
printf "|${green}%-55s${white}|\n" " ${klipper_count} Klipper instances were found!"
|
||||||
else
|
else
|
||||||
echo -e "| ${yellow}INFO: No existing Klipper installation found!${default} |"
|
echo -e "| ${yellow}INFO: No existing Klipper installation found!${white} |"
|
||||||
fi
|
fi
|
||||||
echo -e "| Usually you need one Moonraker instance per Klipper |"
|
echo -e "| Usually you need one Moonraker instance per Klipper |"
|
||||||
echo -e "| instance. Though you can install as many as you wish. |"
|
echo -e "| instance. Though you can install as many as you wish. |"
|
||||||
@@ -56,13 +56,13 @@ function moonraker_setup_dialog(){
|
|||||||
|
|
||||||
local count
|
local count
|
||||||
while [[ ! (${count} =~ ^[1-9]+((0)+)?$) ]]; do
|
while [[ ! (${count} =~ ^[1-9]+((0)+)?$) ]]; do
|
||||||
read -p "${cyan}###### Number of Moonraker instances to set up:${default} " count
|
read -p "${cyan}###### Number of Moonraker instances to set up:${white} " count
|
||||||
if [[ ! (${count} =~ ^[1-9]+((0)+)?$) ]]; then
|
if [[ ! (${count} =~ ^[1-9]+((0)+)?$) ]]; then
|
||||||
error_msg "Invalid Input!\n"
|
error_msg "Invalid Input!\n"
|
||||||
else
|
else
|
||||||
echo
|
echo
|
||||||
while true; do
|
while true; do
|
||||||
read -p "${cyan}###### Install ${count} instance(s)? (Y/n):${default} " yn
|
read -p "${cyan}###### Install ${count} instance(s)? (Y/n):${white} " yn
|
||||||
case "${yn}" in
|
case "${yn}" in
|
||||||
Y|y|Yes|yes|"")
|
Y|y|Yes|yes|"")
|
||||||
select_msg "Yes"
|
select_msg "Yes"
|
||||||
|
|||||||
Reference in New Issue
Block a user