Filewatcher File Search
FTP Search
  
Directory 
  
Content Search 
   
pkg://dailyscript-3.1-2.i386.rpm:15112/etc/dailyscript.conf  info  downloads

#!/bin/bash

#############################################################################
# Version 3.1 -- Kirk Bauer -- 5/24/97
#############################################################################

# Set this to a temporary directory for the script to use for all
# of its files ... this directory does not have to exist.
export TMP2=/var/tmp

# Since I can't figure out how to make multiple-line 'sed' scripts without
# using a script file, I had to use two sed script files.  Give me the
# location of those files below (please let me know if you know how to
# get around this with sed):
export SEDSCRIPT1=/var/local/dailyscript/sed-script-1
export SEDSCRIPT2=/var/local/dailyscript/sed-script-2
export MAILSTATS=/var/local/dailyscript/todays_stats
export MAILLIST=/var/local/dailyscript/smtpstats



########################################################################
# You only have to worry about these if you have a wierd
# system:

# This is a list of log files to process.  Be careful *not* to put stuff
# like /var/log/maillog in this list, because my script won't catch it.
# Basically, if you take everything that normally goes to /var/log/messages
# (on a default RHL 4.1) and split it into different files, include all those
# files below:
export LOGFILES="/var/log/messages"
#export LOGFILES="/var/log/messages /var/log/daemons /var/log/su"

# This is a list of messages to totally ignore.  For example, if you have
# something on your system that generates a lot of messages but my script
# does not look for it, list it here and it will be ignored.
# NOTE: for now, I ignore PAM_pwdb because I don't think it tells us anything
# the other messages don't... plus I don't feel like writing more code ;)
export ALWAYSIGNORE=""
#export ALWAYSIGNORE="wierd_stuff"




########################################################################
# You only have to worry about these if you want this script to check
# "incoming" directories.  If you want the script to do so, add one or
# more directories in the INCOMINGDIRS list....

# this is a list of 'incoming' directories or public-writeable
# directories that you would like to keep track of.  The script will
# let you know when files are added or removed from these directories
# on a daily basis...
# BTW -- the first time you run the script, or when you change the below
# lines, you will get a couple of errors... but no big deal, they will
# not be there the next time you run the script.
#export INCOMINGDIRS="/home/ftp/incoming /home/samba/incoming"
export INCOMINGDIRS=""

# This is a directory that files are left in to keep track of things.
# Really, there will only be a couple of files in here for now.  There
# will be one file in here for every directory you are keeping track of
# below.  In any case, just make sure this directory exists and then
# leave it alone...
export PERMDIR=/var/local/dailyscript

Results 1 - 1
Help - FTP Sites List - Software Dir.
Searching half a billion files worldwide
© 1997-2009 MARUHN Internet Solutions