#!/bin/sh# DrFTPD crontab script###############################################################First save this file and call it drftpd.chk. Next you will haveto add the crontab entry. Type crontab -e. This will openthe default text editor with the crontab file. Enter thefollowing (with correct path): */5 * * * * /home/user/drftpd/drftpd.chk >/dev/null 2>&1The */5 at the beginning means check every 5 minutes.You may replace the 5 with other another number if you want(but less than 60). Save and exit and its installed.############################################################################################################################## CONFIGURATION################################################################ DrFTPD directoryDRPATH=/home/drftpd/# Name of the pid fileDRPIDF=master.pid# Name of the executableDRPROG=mastrer.sh# Parameters to pass to the executableDRARGS=""#DRARGS="-debug"################################################################ DO NOT EDIT ANYTHING BELOW ################################################################PATH=/bin:/usr/bin:/usr/local/binDRPID=cd $DRPATHif [ -f $DRPIDF ]then DRPID=`cat $DRPIDF` if [ `ps auwx | grep $DRPROG | grep $DRPID | grep -v -c grep` = 1 ] then exit fi rm -f $DRPIDFfi./$DRPROG $DRARGS