Changeset 607

Show
Ignore:
Timestamp:
03/21/06 09:19:58 (7 years ago)
Author:
ahu
Message:

fix small escape bug, remove a flag from rrdtool that is too new

Location:
trunk/pdns/pdns/tools/rrd
Files:
2 modified

Legend:

Unmodified
Added
Removed
  • trunk/pdns/pdns/tools/rrd/makegraphs

    r606 r607  
    1 #!/bin/sh 
    2 WWWPREFIX=/var/www/ 
     1#!/bin/bash 
     2WWWPREFIX=.  
    33WSIZE=800 
    44HSIZE=250 
     
    7171         
    7272  rrdtool graph --start -$1 $WWWPREFIX/hitrate-$2.png -w $WSIZE -h $HSIZE -l 0\ 
    73         -v "percentage" -U % \ 
     73        -v "percentage" \ 
    7474        -t "cache hits" \ 
    7575        DEF:cachehits=pdns_recursor.rrd:cache-hits:AVERAGE  \ 
  • trunk/pdns/pdns/tools/rrd/update

    r604 r607  
    99           cache-hits cache-misses answers0-1 answers1-10 answers10-100 answers100-1000 answers-slow" 
    1010 
    11 UVARIABLES=$(echo $VARIABLES | tr [a-z] [A-Z] | tr - _  ) 
     11UVARIABLES=$(echo $VARIABLES | tr '[a-z]' '[A-Z]' | tr - _      ) 
    1212 
    1313./rec_control GET $VARIABLES |