]> Dogcows Code - chaz/tar/blobdiff - scripts/level-1
Initial revision
[chaz/tar] / scripts / level-1
index 474e36f8641bd150f683c1a568e7af13e93eda42..2a007c9de7566168907148a0fbf1b763224af8d5 100644 (file)
@@ -29,7 +29,7 @@ if [ "$1" != "now" ]; then
    fi
    pausetime=`date | awk '{hr=substr($4,1,2);\\
       mn=substr($4,4,2);\\
-      if((hr+0)<spec+0)\\
+      if((hr+0)<spec)\\
          print 3600*(spec-hr)-60*mn;\\
       else\\
          print 3600*(spec+(24-hr))-60*mn; }' spec=$spec`
@@ -44,6 +44,7 @@ here=`pwd`
 LOGFILE=log-`date | awk '{print $2 "-" $3 "-" $6}'`-level-1
 HOST=`hostname | sed 's/\..*//'`
 TAR_PART1="/usr/local/bin/tar -c --multi-volume --one-file-system --block=$BLOCKING --sparse --volno-file=$VOLNO_FILE"
+#TAR_PART1="/usr/local/bin/tar -c --multi-volume --one-file-system --block=$BLOCKING "
 
 # Make sure the log file did not already exist.  Create it.
 
@@ -143,5 +144,3 @@ mt -f $TAPE_FILE offl
 echo Sending the dump log to $ADMINISTRATOR
 cat $LOGFILE | sed -f logfile.sed > $LOGFILE.tmp
 /usr/ucb/mail -s "Results of backup on `date`" $ADMINISTRATOR < $LOGFILE.tmp
-rm -f $LOGFILE.tmp
-
This page took 0.020202 seconds and 4 git commands to generate.