HP CIFS Server 3.0b Administrator's Guide version A.02.01.01

Configuring HA HP CIFS
Overview of HA HP CIFS Server
Chapter 11 243
exit 1
else
NMBD_PID=`cat ${NMBD_PID_FILE}`
findproc $NMBD_PID
if [ "$pid" = "" ] ; then
if [ "$MAX_NMBD_RETRYS" -gt 0 ] ; then
startnmbd
if [ "$MAX_NMBD_RETRYS" -ge 1 ] ; then
(( MAX_NMBD_RETRYS = MAX_NMBD_RETRYS - 1 ))
fi
else
sleep 1
echo "ERROR: ${NETBIOS_NAME} nmbd not running!"
exit 1
fi
fi
fi
if [ ! -f ${SMBD_PID_FILE} ]
then
sleep 1
print "\tERROR: ${SMBD_PID_FILE} could not be
found!"
exit 1
else
SMBD_PID=`cat ${SMBD_PID_FILE}`
findproc $SMBD_PID
if [ "$pid" = "" ] ; then
if [ "$MAX_SMBD_RETRYS" -gt 0 ] ; then
startsmbd
if [ "$MAX_SMBD_RETRYS" -ge 1 ] ; then
(( MAX_SMBD_RETRYS = MAX_SMBD_RETRYS - 1 ))
fi
else
sleep 1
echo "ERROR: ${NETBIOS_NAME} smbd not running!"
exit 1
fi
fi
fi
# #################################################
# Use the following for Winbind Configurations