Changeset 3385

Show
Ignore:
Timestamp:
02/26/10 13:11:47 (2 years ago)
Author:
knan
Message:

snort_* - clean up autoconf

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/plugins/node.d/snort_alerts.in

    r3333 r3385  
    5757=cut 
    5858 
    59 EOF 
    60  
    6159 
    6260if [ -z $statsfile  ]; then 
     
    6967        if [ -f $_target ]; then 
    7068                echo yes 
    71                 exit 0 
    7269        else 
    7370                echo "no ($_target not readable)" 
    74                 exit 1 
    7571        fi 
     72        exit 0 
    7673fi 
    7774 
  • trunk/plugins/node.d/snort_bytes_pkt.in

    r3333 r3385  
    5757=cut 
    5858 
    59 EOF 
    60  
    6159 
    6260if [ -z $statsfile  ]; then 
     
    6967        if [ -f $_target ]; then 
    7068                echo yes 
    71                 exit 0 
    7269        else 
    7370                echo "no ($_target not readable)" 
    74                 exit 1 
    7571        fi 
     72        exit 0 
    7673fi 
    7774 
  • trunk/plugins/node.d/snort_drop_rate.in

    r3333 r3385  
    5757=cut 
    5858 
    59 EOF 
    60  
    6159 
    6260if [ -z $statsfile  ]; then 
     
    6967        if [ -f $_target ]; then 
    7068                echo yes 
    71                 exit 0 
    7269        else 
    7370                echo "no ($_target not readable)" 
    74                 exit 1 
    7571        fi 
     72        exit 0 
    7673fi 
    7774 
  • trunk/plugins/node.d/snort_pattern_match.in

    r3333 r3385  
    5858=cut 
    5959 
    60 EOF 
    61  
    6260 
    6361if [ -z $statsfile  ]; then 
     
    7068        if [ -f $_target ]; then 
    7169                echo yes 
    72                 exit 0 
    7370        else 
    7471                echo "no ($_target not readable)" 
    75                 exit 1 
    7672        fi 
     73        exit 0 
    7774fi 
    7875 
  • trunk/plugins/node.d/snort_pkts.in

    r3333 r3385  
    5858=cut 
    5959 
    60 EOF 
    61  
    6260 
    6361if [ -z $statsfile  ]; then 
     
    7068        if [ -f $_target ]; then 
    7169                echo yes 
    72                 exit 0 
    7370        else 
    7471                echo "no ($_target not readable)" 
    75                 exit 1 
    7672        fi 
     73        exit 0 
    7774fi 
    7875 
  • trunk/plugins/node.d/snort_traffic.in

    r3333 r3385  
    5757=cut 
    5858 
    59 EOF 
    60  
    6159 
    6260if [ -z $statsfile  ]; then 
     
    6967        if [ -f $_target ]; then 
    7068                echo yes 
    71                 exit 0 
    7269        else 
    7370                echo "no ($_target not readable)" 
    74                 exit 1 
    7571        fi 
     72        exit 0 
    7673fi 
    7774