mirror of
https://github.com/dw-0/kiauh.git
synced 2025-12-14 02:54:28 +05:00
script: install_klipper.sh prompt phrasing (#90)
This commit is contained in:
@@ -22,7 +22,7 @@ klipper_setup_dialog(){
|
|||||||
INSTANCE_COUNT=""
|
INSTANCE_COUNT=""
|
||||||
while [[ ! ($INSTANCE_COUNT =~ ^[1-9]+$) ]]; do
|
while [[ ! ($INSTANCE_COUNT =~ ^[1-9]+$) ]]; do
|
||||||
echo
|
echo
|
||||||
read -p "${cyan}###### Amount of Klipper instances to set up:${default} " INSTANCE_COUNT
|
read -p "${cyan}###### Number of Klipper instances to set up:${default} " INSTANCE_COUNT
|
||||||
if [[ ! ($INSTANCE_COUNT =~ ^[1-9]+$) ]]; then
|
if [[ ! ($INSTANCE_COUNT =~ ^[1-9]+$) ]]; then
|
||||||
warn_msg "Invalid Input!" && echo
|
warn_msg "Invalid Input!" && echo
|
||||||
else
|
else
|
||||||
@@ -417,4 +417,4 @@ get_mcu_id(){
|
|||||||
warn_msg "Could not retrieve ID!"
|
warn_msg "Could not retrieve ID!"
|
||||||
warn_msg "Printer not plugged in or not detectable!"
|
warn_msg "Printer not plugged in or not detectable!"
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user