From c929b299bf46232ef06c2446ce66c7ded56757a1 Mon Sep 17 00:00:00 2001 From: DAProgs Date: Tue, 6 Oct 2026 07:45:27 -0400 Subject: [PATCH] 2610.13 - Adding timeframe. --- network-config.sh | 19 +++++++------------ 1 file changed, 7 insertions(+), 12 deletions(-) diff --git a/network-config.sh b/network-config.sh index d42c76b..e60a12c 100755 --- a/network-config.sh +++ b/network-config.sh @@ -102,7 +102,7 @@ status_box() { echo " ╠══════════════════════════════════════════════════════════════════════════╣" echo " ║ Network Interface Status ║" echo " ╠══════════════════════════════════════════════════════════════════════════╣" - echo " ║ v0.17 ║" + echo " ║ v0.18 ║" local ifaces mapfile -t ifaces < <(get_interfaces) @@ -593,7 +593,7 @@ toggle_timeframe() { EVENTS_HOURS=1 fi echo "$EVENTS_HOURS" > "$EVENTS_WINDOW_FILE" - MENU_ITEMS[2]="Timeframe: ${EVENTS_HOURS}h" + MENU_ITEMS[1]="Timeframe: ${EVENTS_HOURS}h" } main_menu() { @@ -606,34 +606,29 @@ main_menu() { 0) ;; # Refresh — just redraw 1) - show_log_viewer - echo "" - read -rp "Press Enter to continue..." - ;; - 2) toggle_timeframe ;; - 3) + 2) if select_interface; then set_static "$SELECTED_IFACE" fi echo "" read -rp "Press Enter to continue..." ;; - 4) + 3) if select_interface; then set_dhcp "$SELECTED_IFACE" fi echo "" read -rp "Press Enter to continue..." ;; - 5) + 4) shell_access ;; - 6) + 5) reboot_confirm ;; - 7) + 6) run_update ;; esac