From 4f4925002a52db6484a325e4235fcdf55608bb91 Mon Sep 17 00:00:00 2001 From: Tom Eastep Date: Tue, 15 Sep 2009 12:18:29 -0700 Subject: [PATCH] Revert "Allow Extension Scripts for Accounting Chains" This reverts commit 728ad2fecfc6bcf92a75552486cb53b79d8eb0ad. --- Shorewall/Perl/Shorewall/Chains.pm | 14 -------------- 1 file changed, 14 deletions(-) diff --git a/Shorewall/Perl/Shorewall/Chains.pm b/Shorewall/Perl/Shorewall/Chains.pm index 8d9a97af6..685317efd 100644 --- a/Shorewall/Perl/Shorewall/Chains.pm +++ b/Shorewall/Perl/Shorewall/Chains.pm @@ -948,20 +948,6 @@ sub ensure_accounting_chain( $ ) $chainref = new_chain 'filter' , $chain unless $chainref; $chainref->{accounting} = 1; $chainref->{referenced} = 1; - - my $file = find_file $chain; - - if ( -f $file ) { - progress_message "Processing $file..."; - - my ( $level, $tag ) = ( '', '' ); - - unless ( my $return = eval `cat $file` ) { - fatal_error "Couldn't parse $file: $@" if $@; - fatal_error "Couldn't do $file: $!" unless defined $return; - fatal_error "Couldn't run $file" unless $return; - } - } } $chainref;