From bbc3faaaa4eb1775d4de13c24d2d3ba354eb1dc1 Mon Sep 17 00:00:00 2001 From: Arthur de Jong Date: Fri, 31 Oct 2008 23:48:03 +0000 Subject: check for existance of init script instead of daemon git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-ldapd@789 ef36b2f9-881f-0410-afb5-c4e39611909c --- debian/libnss-ldapd.postinst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/debian/libnss-ldapd.postinst b/debian/libnss-ldapd.postinst index 3211a93..fb0357e 100644 --- a/debian/libnss-ldapd.postinst +++ b/debian/libnss-ldapd.postinst @@ -244,7 +244,7 @@ then # as backup) # restart nscd to pick up changes in nsswitch.conf # (other processes will have to be restarted manually) - if [ -s /usr/sbin/nscd ] && [ `pidof -s nscd` ] + if [ -x /etc/init.d/nscd ] && [ `pidof -s nscd` ] then if which invoke-rc.d >/dev/null 2>&1 then -- cgit v1.2.3