diff options
author | Arthur de Jong <arthur@arthurdejong.org> | 2008-11-01 00:48:03 +0100 |
---|---|---|
committer | Arthur de Jong <arthur@arthurdejong.org> | 2008-11-01 00:48:03 +0100 |
commit | bbc3faaaa4eb1775d4de13c24d2d3ba354eb1dc1 (patch) | |
tree | bd871f9185e73a320558301de94227ff30965248 | |
parent | 4a9fcd4210f23f8df1c7bfb54c072ff7d4eb4236 (diff) |
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
-rw-r--r-- | debian/libnss-ldapd.postinst | 2 |
1 files changed, 1 insertions, 1 deletions
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 |