HP CIFS Server 3.0a Administrator's Guide version A.02.01

Configuring HA HP CIFS
Overview of HA HP CIFS Server
Chapter 13 247
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
# if [ ! -f ${WINBIND_PID_FILE} ]
# then
# sleep 1
# print "ERROR: ${WINBIND_PID_FILE} could not be
# found!"
# exit 1
# else
# WINBIND_PID=‘cat ${WINBIND_PID_FILE}‘
# findwbproc $WINBIND_PID
# if [ "$wbpid" = "" ] ; then
# if [ "$MAX_WINBIND_RETRYS" -gt 0 ] ; then
# logger -t "${NETBIOS_NAME}.mon" "${NETBIOS_NAME}
winbind daemon is not running. Restarting daemon."