fix: bug with sourcing the kiauh.ini and improve config change function

This commit is contained in:
th33xitus
2021-01-29 12:17:42 +01:00
parent 69d134d9d1
commit a0e53655bd
2 changed files with 13 additions and 6 deletions

View File

@@ -5,18 +5,18 @@ settings_ui(){
echo -e "| $(title_msg "~~~~~~~~~~~~ [ KIAUH Settings ] ~~~~~~~~~~~~~") | "
hr
echo -e "| ${red}Caution:${default} | "
echo -e "| When you rename the config folder, be aware that ALL | "
echo -e "| When you change the config folder, be aware that ALL | "
echo -e "| Klipper and Moonraker services will be STOPPED, | "
echo -e "| reconfigured and then restarted again. | "
blank_line
echo -e "| ${red}DO NOT rename the folder during printing!${default} | "
echo -e "| ${red}DO NOT change the folder during printing!${default} | "
hr
blank_line
echo -e "| ${yellow}● Current Klipper config folder:${default} | "
echo -e "| ${cyan}● Current Klipper config folder:${default} | "
printf "|%-55s|\n" " $klipper_cfg_loc"
blank_line
hr
echo -e "| 1) Rename config folder | "
echo -e "| 1) Change config folder | "
quit_footer
}