mirror of
https://github.com/dw-0/kiauh.git
synced 2025-12-14 02:54:28 +05:00
Add Octoprint Service toggle function and a new confirm message
This commit is contained in:
@@ -105,6 +105,9 @@ advanced_ui(){
|
||||
top_border
|
||||
echo -e "| $(title_msg "~~~~~~~~~~~~~ [ Advanced Menu ] ~~~~~~~~~~~~~") | "
|
||||
hr
|
||||
echo -e "| 0) $OPRINT_SERVICE_STATUS| "
|
||||
hr
|
||||
echo -e "| | "
|
||||
echo -e "| 1) [Switch Klipper version] | "
|
||||
echo -e "| | "
|
||||
echo -e "| 2) [Build Firmware] | "
|
||||
@@ -113,8 +116,6 @@ advanced_ui(){
|
||||
echo -e "| 5) [Write Printer-ID to printer.cfg] | "
|
||||
echo -e "| 6) [Write DWC2-for-klipper config] | "
|
||||
echo -e "| | "
|
||||
echo -e "| x) [Enable/Disable Octoprint service] | "
|
||||
echo -e "| | "
|
||||
quit_footer
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user