summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJames Rayner <james@archlinux.org>2008-12-18 06:34:57 +0100
committerJames Rayner <james@archlinux.org>2008-12-18 06:34:57 +0100
commit07514350b8404670e14f764ef6b3a9114469621e (patch)
treef376e52517cde8b65dc9a26c6937c0da8891db25
parent164df2fdcc8ac4286c7f8f04f1e7c9004ade6960 (diff)
downloadnetctl-07514350b8404670e14f764ef6b3a9114469621e.tar.gz
netctl-07514350b8404670e14f764ef6b3a9114469621e.tar.xz
Add option to pass arbitrary ifconfig arguments when using dhcp
-rw-r--r--src/connections/ethernet2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/connections/ethernet b/src/connections/ethernet
index 3605663..75976da 100644
--- a/src/connections/ethernet
+++ b/src/connections/ethernet
@@ -48,7 +48,7 @@ ethernet_up() {
return 1
fi
fi
- # TODO: add support for $section:ifconfig for other stuff, like mtu or mac?
+ [[ -n "$IFOPTS" ]] && ifconfig $INTERFACE $IFOPTS
;;
static)
if ! ifconfig $INTERFACE $IFOPTS up; then