Fix mandir again
[openresolv] / libc
diff --git a/libc b/libc
index 13a0521455354b684fe9fdb67eda5108ab0be5ba..ba0cbdd46c6e77d22e53b7b8b63157e9df9e8494 100755 (executable)
--- a/libc
+++ b/libc
@@ -141,16 +141,7 @@ fi
 # Create our resolv.conf now
 printf "${NEWCONF}" > "${RESOLVCONF}"/run/resolv.conf
 
 # Create our resolv.conf now
 printf "${NEWCONF}" > "${RESOLVCONF}"/run/resolv.conf
 
-# Restart nscd if it's running
-if [ -x /etc/init.d/nscd ]; then
-       if [ -x /sbin/runscript ]; then
-               /etc/init.d/nscd --nodeps --quiet conditionalrestart
-       else
-               /etc/init.d/nscd restart
-       fi
-elif [ -x /etc/rc.d/nscd ]; then
-       /etc/rc.d/nscd restart
-fi
+resolvconf -s nscd restart
 
 # Notify users of the resolver
 for x in "${REVOLVCONF}"/update-libc.d/*; do
 
 # Notify users of the resolver
 for x in "${REVOLVCONF}"/update-libc.d/*; do