Streamline the Obico linking process in KIAUH

This commit is contained in:
Kenneth Jiang
2022-08-01 06:46:06 -07:00
parent 121dde5a95
commit 767f8e14f8
3 changed files with 253 additions and 180 deletions

View File

@@ -24,7 +24,7 @@ function main_ui() {
echo -e "| 5) [Backup] | Fluidd: $(print_status "fluidd")|"
echo -e "| | KlipperScreen: $(print_status "klipperscreen")|"
echo -e "| 6) [Settings] | Telegram Bot: $(print_status "telegram_bot")|"
echo -e "| | Obico: $(print_status "obico")|"
echo -e "| | Obico: $(print_status "moonraker_obico")|"
echo -e "| | |"
echo -e "| $(print_kiauh_version)| Octoprint: $(print_status "octoprint")|"
quit_footer
@@ -49,7 +49,7 @@ function print_status() {
if [[ ${status} == "Not installed!" ]]; then
status="${red}${status}${white}"
elif [[ ${status} == "Incomplete!" ]]; then
elif [[ ${status} == "Incomplete!" ]] || [[ ${status} == "Not linked!" ]]; then
status="${yellow}${status}${white}"
else
status="${green}${status}${white}"