]> git.ipfire.org Git - thirdparty/dhcpcd.git/commitdiff
Fix adding resolvconf
authorRoy Marples <roy@marples.name>
Tue, 27 Mar 2012 21:15:25 +0000 (21:15 +0000)
committerRoy Marples <roy@marples.name>
Tue, 27 Mar 2012 21:15:25 +0000 (21:15 +0000)
dhcpcd-hooks/20-resolv.conf

index afe7ebb1231733c3a455a3580101c48d8f6969a2..42aff68bb977ed2bee16d9fb0f829708879e61c3 100644 (file)
@@ -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