From 105fb16de29025c3a906fe711477016d60f0a3b9 Mon Sep 17 00:00:00 2001 From: AuxXxilium Date: Fri, 26 Jan 2024 20:18:14 +0100 Subject: [PATCH] init: fix Signed-off-by: AuxXxilium --- files/initrd/opt/arc/init.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/files/initrd/opt/arc/init.sh b/files/initrd/opt/arc/init.sh index 46885ee..9eb29b8 100755 --- a/files/initrd/opt/arc/init.sh +++ b/files/initrd/opt/arc/init.sh @@ -61,7 +61,7 @@ initConfigKey "arc.version" "${ARC_VERSION}" "${USER_CONFIG_FILE}" initConfigKey "device" "{}" "${USER_CONFIG_FILE}" # Init Network -ETHX=$(ls /sys/class/net/ | grep -v lo || true) +ETHX=$(ls /sys/class/net/ | grep -v lo | grep -v docker || true) ETH=$(echo ${ETHX} | wc -w) # No network devices [ ${ETH} -le 0 ] && die "No NIC found! - Loader does not work without Network connection."