From ec03018762f742a11f48cf87ba81a339a7ab8b17 Mon Sep 17 00:00:00 2001 From: Kroese Date: Thu, 20 Apr 2023 00:44:54 +0200 Subject: [PATCH] Rem --- run/network.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/run/network.sh b/run/network.sh index e53b274..8d7ab78 100644 --- a/run/network.sh +++ b/run/network.sh @@ -354,13 +354,13 @@ update-alternatives --set ip6tables /usr/sbin/ip6tables-legacy > /dev/null GATEWAY=$(ip r | grep default | awk '{print $3}') -if [[ "$GATEWAY" == "172."* ]]; then +#if [[ "$GATEWAY" == "172."* ]]; then # Configuration for static IP #configureNAT -else +#else # Configuration for DHCP IP #configureDHCP -fi +#fi # Get all interfaces: local_ifaces=($(ip link show | grep -v noop | grep state | grep -v LOOPBACK | awk '{print $2}' | tr -d : | sed 's/@.*$//'))