# Calculate chmod=0755 module(client)!=&&client.os_remote_auth!=
#!/bin/bash

pidfile="/var/run/nscd/nscd.pid"
if [ -f ${pidfile} ]
then
	start-stop-daemon --stop --quiet \
		--exec /usr/sbin/nscd --pidfile ${pidfile}

	start-stop-daemon --start --quiet --background \
		--exec /usr/sbin/nscd --pidfile ${pidfile} \
		-- $secure --config-file=/etc/nscd-cache.conf
fi
