--- rules_du_jour.orig Fri Dec 8 16:36:00 2006 +++ rules_du_jour Fri Dec 8 16:42:32 2006 @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/local/bin/bash # Version 1.29b (1.29b: fixed SARE_STOCKS url) Changed ZMI_GERMAN url to its new location # TODO: add auto-cleanup of old rulesets @@ -52,7 +52,7 @@ # Read configuration file (my_rules_du_jour wrapper script is no longer recommended) # /etc/rulesdujour/config is the recommended configuration file location but may # be read from one of the following locations, including the RDJ_CONFIGFILE env variable. -for i in ${RDJ_CONFIGFILE} /etc/rulesdujour/config /etc/rulesdujour /etc/mail/rulesdujour /etc/sysconfig/RulesDuJour /etc/sysconfig/rulesdujour ; do +for i in ${RDJ_CONFIGFILE} /usr/local/etc/rulesdujour/config /usr/local/etc/rulesdujour /usr/local/etc/mail/rulesdujour ; do [ -f "$i" ] && source $i ; done; @@ -143,7 +143,7 @@ TRIPWIRE=0; CF_URLS[0]="${RULESEMPORIUM}/99_FVGT_Tripwire.cf"; - CF_FILES[0]="tripwire.cf"; + CF_FILES[0]="99_FVGT_Tripwire.cf"; CF_NAMES[0]="TripWire"; PARSE_NEW_VER_SCRIPTS[0]="${PERL} -ne 'print if /^\s*#.*(vers?|version|rev|revision)[:\.\s]*[0-9]/i;' | sort | ${TAIL}";