1768ba5b48
--HG-- extra : convert_revision : ae998b3a2f3f33e848e97df0d1ef7e616ca2f465
23 lines
250 B
Text
23 lines
250 B
Text
#!/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 $?
|
|
}
|