From 2e063c5fc6ff3e1fe4fd07874ac6bce6b17fbbc5 Mon Sep 17 00:00:00 2001 From: Olivier Blin Date: Thu, 27 Mar 2008 11:22:39 +0000 Subject: rename as dansguardian_filter_file (next commit will use main config file) --- bin/drakguard | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'bin') diff --git a/bin/drakguard b/bin/drakguard index 076f2a2..de91287 100755 --- a/bin/drakguard +++ b/bin/drakguard @@ -15,7 +15,7 @@ use network::shorewall; use network::squid; use services; -my $dansguardian_file = "/etc/dansguardian/dansguardianf1.conf"; +my $dansguardian_filter_file = "/etc/dansguardian/dansguardianf1.conf"; my %dansguardian_levels = ( 160 => N_("Low"), 100 => N_("Normal"), @@ -231,7 +231,7 @@ sub enable_transparent_proxy { #- mostly duplicated for MDK::Common::System::getVarsFromSh sub read_dansguardian() { my $guardian = {}; - foreach (cat_($dansguardian_file)) { + foreach (cat_($dansguardian_filter_file)) { s/#.*//; s/^\s*//; my ($v, $val) = /^(\w+)\s*=\s*(.*)/ or next; @@ -242,7 +242,7 @@ sub read_dansguardian() { } sub write_dansguardian() { - subst_config_line($dansguardian_file, "naughtynesslimit = $level\n"); + subst_config_line($dansguardian_filter_file, "naughtynesslimit = $level\n"); } sub include_guardian_file { -- cgit v1.2.1