diff --git a/files/initrd/opt/arc/include/network.sh b/files/initrd/opt/arc/include/network.sh index d29b0800..00e3ada2 100755 --- a/files/initrd/opt/arc/include/network.sh +++ b/files/initrd/opt/arc/include/network.sh @@ -55,7 +55,6 @@ function getnet() { ETHX=$(ls /sys/class/net/ 2>/dev/null | grep eth) || true # Get actual IP for ETH in ${ETHX}; do - IPCON="$(readConfigKey "ip.${ETH}" "${USER_CONFIG_FILE}")" - [ -z "${IPCON}" ] && IPCON="$(getIP ${ETH})" + IPCON="$(getIP ${ETH})" [ -n "${IPCON}" ] && break done \ No newline at end of file