1768ba5b48
--HG-- extra : convert_revision : ae998b3a2f3f33e848e97df0d1ef7e616ca2f465
24 lines
250 B
Plaintext
24 lines
250 B
Plaintext
#!/sbin/runscript
|
|
|
|
command=/usr/sbin/nscd
|
|
pidfile=/var/run/nscd/nscd.pid
|
|
|
|
depend()
|
|
{
|
|
use dns ldap net slapd
|
|
}
|
|
|
|
start_pre()
|
|
{
|
|
if [ ! -d /var/run/nscd ]; then
|
|
mkdir -p /var/run/nscd
|
|
fi
|
|
}
|
|
|
|
stop()
|
|
{
|
|
ebegin "Stopping nscd"
|
|
${command} -K
|
|
eend $?
|
|
}
|