Updated install_menu.sh to back_footer

When I first ran the code, I went to advanced because I had klipper already installed and I wanted to see if I could install fluidd using this code base.
So when see advanced menu I was concerned that "quit" meant quitting the tool instead of exiting the advanced menu. So proposing a back_footer for sub menus that will revert back to main menu. Save quit footer for main menu to exit program.
This commit is contained in:
AKA "Thom Wiley
2021-09-12 09:33:51 -04:00
committed by GitHub
parent 3ea4ee45fe
commit 6aa2a7bff0

View File

@@ -17,7 +17,7 @@ install_ui(){
echo -e "| 4) [Fluidd] | Webcam: | " echo -e "| 4) [Fluidd] | Webcam: | "
echo -e "| | 9) [MJPG-Streamer] | " echo -e "| | 9) [MJPG-Streamer] | "
echo -e "| | | " echo -e "| | | "
quit_footer back_footer
} }
install_menu(){ install_menu(){
@@ -43,7 +43,7 @@ install_menu(){
do_action "install_pgc_for_klipper" "install_ui";; do_action "install_pgc_for_klipper" "install_ui";;
9) 9)
do_action "install_mjpg-streamer" "install_ui";; do_action "install_mjpg-streamer" "install_ui";;
Q|q) B|b)
clear; main_menu; break;; clear; main_menu; break;;
*) *)
deny_action "install_ui";; deny_action "install_ui";;