Skip to content

Commit

Permalink
remove unnecessary files
Browse files Browse the repository at this point in the history
  • Loading branch information
GitHub Actions committed Jan 10, 2024
1 parent a5b359a commit c9b6fd6
Show file tree
Hide file tree
Showing 7 changed files with 54 additions and 3 deletions.
6 changes: 5 additions & 1 deletion bin/armbian-configng
Original file line number Diff line number Diff line change
Expand Up @@ -115,6 +115,7 @@ for category in "${categories[@]}"; do
done
done


# This function is used to generate a whiptail/dialog text-based user interface (TUI) for navigating the menus.
generate_action() {
local function_name="$1"
Expand Down Expand Up @@ -398,11 +399,14 @@ generate_sub_tui() {


if [[ -z "$1" ]] ; then

echo -e "\nWarning:\ntry:\n\tarmbain-interface --help" | $bin/armbian-interface -o

while true; do
if [[ "$dialogue" == "$file_name" ]]; then
generate_read
elif [[ "$dialogue" != "$file_name" ]]; then
generate_tui
generate_tui
fi

if [[ "$?" == "0" ]]; then
Expand Down
4 changes: 2 additions & 2 deletions lib/armbian-configng/System/get_system_clone.sh
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@
# @default sdcard
# @options [sdcard] [emmc] [usb]
function placeholder::Install(){

armbian-install
see_get_dependencies armbian-install
[[ -f "/usr/sbin/armbian-install" ]] && armbian-install
return 0
}

File renamed without changes.
15 changes: 15 additions & 0 deletions lib/armbian-configng/help/see_group_lib_help.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
#!/bin/bash


# @description Configng Library Help message.
# @requirments none
# @exitcode 0 If successful.
# @default none
# @options none



function help::configng(){
clear
generate_help ; exit 0
}
File renamed without changes.
16 changes: 16 additions & 0 deletions lib/armbian-configng/help/see_interface_help.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
#!/bin/bash


# @description armbian-intrface Help message.
# @requirments none
# @exitcode 0 If successful.
# @default none
# @options none



function help::interface(){
clear
[[ -f /usr/bin/armbian-interface ]] && /usr/bin/armbian-interface -h || exit 2
./armbian-interface --help | ./armbian-interface -o ; exit 0
}
16 changes: 16 additions & 0 deletions lib/armbian-configng/help/see_monitor_help.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
#!/bin/bash


# @description armbianmonitor Help message.
# @requirments none
# @exitcode 0 If successful.
# @default none
# @options none



function help::monitor(){
clear
[[ -f /usr/bin/armbianmonitor ]] && /usr/bin/armbianmonitor -h || exit 2
exit 0
}

0 comments on commit c9b6fd6

Please sign in to comment.