do_controlled_stop() {
if [ -s ${pidfile} ]; then
pid=`cat ${pidfile}`
controlled_stop ${pid} && return 0
else
echo "nsd is not running, starting anyway" && return 0
fi
return 1
}
That should be "stopping anyway"
Paul