V8.00.000.2025.06.17

Signed-off-by: Marc S. Weidner <msw@coresecret.dev>
This commit is contained in:
2025-07-08 20:53:47 +02:00
parent e63e343bc7
commit 6d255e9c07
21 changed files with 158 additions and 68 deletions

View File

@@ -13,11 +13,13 @@
guard_sourcing
#######################################
# Specify the NIC interactively for setup.
# Specify the network interface card (NIC) interactively for setup.
# Globals:
# DIR_TMP
# Arguments:
# None
# None
# Returns:
# 0: Successfully executed commands.
#######################################
check_nic() {
ip -o link show | awk -F': ' '{print $2}' | sed 's!lo!!' | sed '/^$/d' | awk '{$1=$1};1' >| "${DIR_TMP}nic.tmp"
@@ -35,6 +37,7 @@ check_nic() {
var_nic=$(dialog --ascii-lines --clear --backtitle "Specify the NIC for setup" --radiolist "NIC available" 0 0 ${var_counter} ${var_radiolist} 3>&1 1>&2 2>&3)
clear
do_log "info" "false" "You have selected: '${var_nic}' - proceeding with setup."
do_log "info" "true" "You have selected: '${var_nic}' - proceeding with setup."
return 0
}
# vim: number et ts=2 sw=2 sts=2 ai tw=128 ft=sh