aboutsummaryrefslogtreecommitdiffstats
path: root/sysconfig
diff options
context:
space:
mode:
Diffstat (limited to 'sysconfig')
-rw-r--r--sysconfig/network-scripts/network-functions3
1 files changed, 2 insertions, 1 deletions
diff --git a/sysconfig/network-scripts/network-functions b/sysconfig/network-scripts/network-functions
index 76879cf4..c3160dbe 100644
--- a/sysconfig/network-scripts/network-functions
+++ b/sysconfig/network-scripts/network-functions
@@ -380,7 +380,8 @@ change_resolv_conf ()
r=$?
if [ $r -eq 0 ]; then
/sbin/initlog -f local7 -p notice -n NET -s "$0 : updated /etc/resolv.conf";
- /sbin/service nscd condrestart >/dev/null 2>&1;
+ /sbin/service nscd condrestart >/dev/null 2>&1; # remove when nscd is fixed!
+ [ -e /var/lock/subsys/nscd ] && /sbin/nscd -i hosts; # invalidate cache
return $?;
fi;
return $r;