summaryrefslogtreecommitdiffstats
path: root/sbin/dhclient/dhclient-script
diff options
context:
space:
mode:
Diffstat (limited to 'sbin/dhclient/dhclient-script')
-rw-r--r--sbin/dhclient/dhclient-script2
1 files changed, 1 insertions, 1 deletions
diff --git a/sbin/dhclient/dhclient-script b/sbin/dhclient/dhclient-script
index da2a99b..ced527d 100644
--- a/sbin/dhclient/dhclient-script
+++ b/sbin/dhclient/dhclient-script
@@ -135,7 +135,7 @@ add_new_resolv_conf() {
# thus broke the script. This code creates the resolv.conf if either
# are provided.
- local tmpres=${TMPDIR:-/tmp}/resolv.conf.std
+ local tmpres=/var/run/resolv.conf.${interface}
rm -f $tmpres
if [ -n "$new_domain_name" ]; then
OpenPOWER on IntegriCloud