From c4c989e03e58551b670572905616cc6ec006f04a Mon Sep 17 00:00:00 2001 From: Tearran Date: Fri, 27 Sep 2024 21:42:18 -0500 Subject: [PATCH] remved about file exxecive for a simple tastment --- .../armbian.config.jobs/99armbian.about.json | 30 ------------------- lib/armbian-configng/config.ng.functions.sh | 4 +-- 2 files changed, 2 insertions(+), 32 deletions(-) delete mode 100644 lib/armbian-configng/armbian.config.jobs/99armbian.about.json diff --git a/lib/armbian-configng/armbian.config.jobs/99armbian.about.json b/lib/armbian-configng/armbian.config.jobs/99armbian.about.json deleted file mode 100644 index 497d3cf9..00000000 --- a/lib/armbian-configng/armbian.config.jobs/99armbian.about.json +++ /dev/null @@ -1,30 +0,0 @@ -[ - { - "id": "Help", - "description": "About this app", - "sub": [ - { - "id": "H00", - "description": "About This system.", - "command": [ - "show_message <<< \"This app is to help execute procedures to configure your system\n\nSome options may not work on manually modified systems\"" - ], - "status": "Preview", - "doc_link": "", - "src_reference": "", - "author": "" - }, - { - "id": "H02", - "description": "List of Config function(WIP)", - "command": [ - "show_message <<< see_use" - ], - "status": "Disabled", - "doc_link": "", - "src_reference": "", - "author": "" - } - ] - } -] \ No newline at end of file diff --git a/lib/armbian-configng/config.ng.functions.sh b/lib/armbian-configng/config.ng.functions.sh index 4b82589d..47fb7be8 100644 --- a/lib/armbian-configng/config.ng.functions.sh +++ b/lib/armbian-configng/config.ng.functions.sh @@ -530,8 +530,8 @@ generate_top_menu() { if [ $exitstatus = 0 ]; then [ -z "$OPTION" ] && break - [[ -n "$debug" ]] && echo "$OPTION" - generate_menu "$OPTION" + [[ "$OPTION" == "Help" ]] && show_message <<< "This app is to help execute procedures to configure your system\n\nSome options may not work on manually modified systems\"" + [[ "$OPTION" != "Help" ]] && generate_menu "$OPTION" fi done }