diff options
author | James Rayner <james@archlinux.org> | 2008-12-18 06:34:57 +0100 |
---|---|---|
committer | James Rayner <james@archlinux.org> | 2008-12-18 06:34:57 +0100 |
commit | 07514350b8404670e14f764ef6b3a9114469621e (patch) | |
tree | f376e52517cde8b65dc9a26c6937c0da8891db25 /src/connections | |
parent | 164df2fdcc8ac4286c7f8f04f1e7c9004ade6960 (diff) | |
download | netctl-07514350b8404670e14f764ef6b3a9114469621e.tar.gz netctl-07514350b8404670e14f764ef6b3a9114469621e.tar.xz |
Add option to pass arbitrary ifconfig arguments when using dhcp
Diffstat (limited to 'src/connections')
-rw-r--r-- | src/connections/ethernet | 2 |
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 |