diff options
-rwxr-xr-x | sys-libs/glibc/files/nscd | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/sys-libs/glibc/files/nscd b/sys-libs/glibc/files/nscd index 62a4f2abcc96..a683e8fa6444 100755 --- a/sys-libs/glibc/files/nscd +++ b/sys-libs/glibc/files/nscd @@ -1,13 +1,17 @@ #!/sbin/runscript # Copyright 1999-2005 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-libs/glibc/files/nscd,v 1.5 2005/12/09 13:45:15 uberlord Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-libs/glibc/files/nscd,v 1.6 2006/06/18 06:49:50 vapier Exp $ depend() { use dns ldap net slapd } checkconfig() { + if [[ ! -d /var/run/nscd ]] ; then + mkdir -p /var/run/nscd + chmod 755 /var/run/nscd + fi if [[ -z ${NSCD_PERMS_OK} && $(stat -c %a /var/run/nscd) != "755" ]] ; then echo "" ewarn "nscd run dir is not world readable, you should reset the perms:" |