summaryrefslogtreecommitdiffstats
path: root/bin/run-me
diff options
context:
space:
mode:
authorTar Committer <tar@ocjtech.us>2000-02-03 17:55:28 +0000
committerTar Committer <tar@ocjtech.us>2000-02-03 17:55:28 +0000
commitb24aa5051db5d4bf9757efe7df06cb1892898382 (patch)
tree9cdcee7bb6f7780d08f94997af4f8232b5bd0417 /bin/run-me
parent42de2e53682c49b050f19fdbaaf68451ba487303 (diff)
downloadrancid-b24aa5051db5d4bf9757efe7df06cb1892898382.tar.gz
rancid-b24aa5051db5d4bf9757efe7df06cb1892898382.tar.xz
rancid-b24aa5051db5d4bf9757efe7df06cb1892898382.zip
Imported from rancid-1.4.tar.gz.rancid-1.4
Diffstat (limited to 'bin/run-me')
-rwxr-xr-xbin/run-me35
1 files changed, 0 insertions, 35 deletions
diff --git a/bin/run-me b/bin/run-me
deleted file mode 100755
index b17d850..0000000
--- a/bin/run-me
+++ /dev/null
@@ -1,35 +0,0 @@
-#!/bin/sh
-
-ENVFILE="`dirname $0`/env"
-
-. $ENVFILE
-
-if [ $# -lt 1 ]; then
- DOME="$LIST_OF_GROUPS"
-else
- DOME="$*"
-fi
-
-for GROUP in $DOME
-do
-
- LOCKFILE=/tmp/.$GROUP.run.lock
-
- (
- echo starting: `date`
- echo
-
- if [ -f $LOCKFILE ]
- then
- echo hourly cisco diffs failed: $LOCKFILE exists
- /bin/ls -l $LOCKFILE
- else
- /usr/bin/touch $LOCKFILE
- control_rancid $GROUP
- /bin/rm -f $LOCKFILE
- fi
-
- echo
- echo ending: `date`
- ) >$BASEDIR/logs/$GROUP.`date +%Y%m%d.%H%M%S` 2>&1
-done