mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-27 11:13:24 +02:00
Last step in migration 2.3, now testing and debugging
This commit is contained in:
@@ -48,9 +48,11 @@ use strict;
|
||||
#
|
||||
my $device = "$ARGV[0]";
|
||||
|
||||
my %mainsettings = ();
|
||||
our %mainsettings = ();
|
||||
require '/var/ipfire/general-functions.pl';
|
||||
&General::readhash("${General::swroot}/main/settings", \%mainsettings);
|
||||
|
||||
our $rrd_datadir = $mainsettings{'RRDLOG'}."/";
|
||||
our $event_datadir = $mainsettings{'RRDLOG'};
|
||||
our $STEP = 10;
|
||||
our $tc_command = "/sbin/tc";
|
||||
@@ -108,8 +110,6 @@ until ($time_to_die) {
|
||||
# print " Error updating RRDs: \"$res\"\n";
|
||||
#}
|
||||
|
||||
process_events();
|
||||
|
||||
# my $timestamp = time;
|
||||
# print "$timestamp\n";
|
||||
|
||||
|
||||
Reference in New Issue
Block a user