summaryrefslogtreecommitdiffstats
path: root/src/connections/ethernet
diff options
context:
space:
mode:
Diffstat (limited to 'src/connections/ethernet')
-rw-r--r--src/connections/ethernet7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/connections/ethernet b/src/connections/ethernet
index 042b32b..ad9e870 100644
--- a/src/connections/ethernet
+++ b/src/connections/ethernet
@@ -116,8 +116,11 @@ ethernet_down() {
esac
ifconfig $INTERFACE 0.0.0.0
- quirk "nodown" || ifconfig $INTERFACE down
-
+ case "$CONNECTION" in
+ ethernet|ethernet-old)
+ quirk "nodown" || ifconfig $INTERFACE down
+ ;;
+ esac
}
ethernet_$1 $2