From: Roy Marples Date: Tue, 27 Mar 2012 21:15:25 +0000 (+0000) Subject: Fix adding resolvconf X-Git-Tag: v5.5.6~2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=93d88d99dc4929ea973e5d7ee3419e38cc4b6d34;p=thirdparty%2Fdhcpcd.git Fix adding resolvconf --- diff --git a/dhcpcd-hooks/20-resolv.conf b/dhcpcd-hooks/20-resolv.conf index afe7ebb1..42aff68b 100644 --- a/dhcpcd-hooks/20-resolv.conf +++ b/dhcpcd-hooks/20-resolv.conf @@ -114,7 +114,7 @@ add_resolv_conf() done if type resolvconf >/dev/null 2>&1; then [ -n "$ifmetric" ] && export IF_METRIC="$ifmetric" - printf %s "$conf" | resolvconf -a "$interface$ifname" + printf %s "$conf" | resolvconf -a "$ifname" return $? fi