summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/connections/ethernet2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/connections/ethernet b/src/connections/ethernet
index cdb45ce..04aca4a 100644
--- a/src/connections/ethernet
+++ b/src/connections/ethernet
@@ -21,7 +21,7 @@ ethernet_up() {
bring_interface up "$INTERFACE"
- if ip link show dev "$INTERFACE" | fgrep -q "NO-CARRIER"; then
+ if ! checkyesno "${SKIPNOCARRIER:-no}" && ip link show dev "$INTERFACE" | fgrep -q "NO-CARRIER"; then
sleep ${CARRIER_TIMEOUT:-2} # Some cards are plain slow to come up. Don't fail immediately.
if ip link show dev "$INTERFACE" | fgrep -q "NO-CARRIER"; then
report_iproute "No connection"