From 07514350b8404670e14f764ef6b3a9114469621e Mon Sep 17 00:00:00 2001 From: James Rayner Date: Thu, 18 Dec 2008 16:34:57 +1100 Subject: Add option to pass arbitrary ifconfig arguments when using dhcp --- src/connections/ethernet | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') 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 -- cgit v1.2.3-24-g4f1b