Logo Search packages:      
Sourcecode: fidogate version File versions

init.d

#!/bin/sh
#
# FIDOGATE boot cleanup
#

SPOOL=/var/spool/fido

case "$1" in
    start)
      echo "Cleaning up FIDOGATE lock files."
      # Remove lock files
      rm -f $SPOOL/locks/*

      # Remove .tmp files
      rm -f $SPOOL/out/*.tmp
      rm -f $SPOOL/toss/*/*.tmp

      ;;
      # All the rest are dummy options.
    stop|reload|force-reload|restart)
      ;;
    *)
      echo "Usage: /etc/init.d/fidogate {start|stop|reload|restart}"
      exit 1
      ;;
esac

exit 0


Generated by  Doxygen 1.6.0   Back to index