summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRoy Marples <roy@marples.name>2012-03-27 21:15:25 +0000
committerRoy Marples <roy@marples.name>2012-03-27 21:15:25 +0000
commit93d88d99dc4929ea973e5d7ee3419e38cc4b6d34 (patch)
tree7ecf7d9da05f2ed35fbbbaf7103d8eccc949d53a
parentae20b7ddab2bc9c11594985dd210af5de6449abf (diff)
downloaddhcpcd-93d88d99dc4929ea973e5d7ee3419e38cc4b6d34.tar.xz
Fix adding resolvconf
-rw-r--r--dhcpcd-hooks/20-resolv.conf2
1 files changed, 1 insertions, 1 deletions
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