From: Roy Marples Date: Mon, 7 Feb 2011 17:40:15 +0000 (+0000) Subject: Use $ifmetric instead of $metric. X-Git-Tag: v5.2.12~13 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3246cfaf3cb060ff6e6c7c0e478750561007f937;p=thirdparty%2Fdhcpcd.git Use $ifmetric instead of $metric. --- diff --git a/dhcpcd-hooks/20-resolv.conf b/dhcpcd-hooks/20-resolv.conf index 628636dc..ccc5f21e 100644 --- a/dhcpcd-hooks/20-resolv.conf +++ b/dhcpcd-hooks/20-resolv.conf @@ -94,7 +94,7 @@ add_resolv_conf() conf="${conf}nameserver $x\n" done if type resolvconf >/dev/null 2>&1; then - [ -n "$metric" ] && export IF_METRIC="$metric" + [ -n "$ifmetric" ] && export IF_METRIC="$ifmetric" printf "$conf" | resolvconf -a "$interface" return $? fi