From: Michael Tremer Date: Thu, 14 Oct 2021 13:26:30 +0000 (+0000) Subject: index.cgi: Remove left-over DNSSEC status warning X-Git-Url: http://git.ipfire.org/?p=people%2Fpmueller%2Fipfire-2.x.git;a=commitdiff_plain;h=637eb94684cb0029ca76bb67dda8a8d2c15560ab index.cgi: Remove left-over DNSSEC status warning An error message is still shown although there is no option to disable DNSSEC at the moment. The old marker file could still be present on older machines. Signed-off-by: Michael Tremer Signed-off-by: Arne Fitzenreiter --- diff --git a/config/cfgroot/general-functions.pl b/config/cfgroot/general-functions.pl index de608e38b8..f72d6588cf 100644 --- a/config/cfgroot/general-functions.pl +++ b/config/cfgroot/general-functions.pl @@ -1238,17 +1238,6 @@ sub get_red_interface() { return $interface; } -sub dnssec_status() { - my $path = "${General::swroot}/red/dnssec-status"; - - open(STATUS, $path) or return 0; - my $status = ; - close(STATUS); - - chomp($status); - - return $status; -} sub number_cpu_cores() { open my $cpuinfo, "/proc/cpuinfo" or die "Can't open cpuinfo: $!\n"; my $cores = scalar (map /^processor/, <$cpuinfo>); diff --git a/html/cgi-bin/index.cgi b/html/cgi-bin/index.cgi index fafbe0aa1a..948fdde551 100644 --- a/html/cgi-bin/index.cgi +++ b/html/cgi-bin/index.cgi @@ -536,11 +536,6 @@ END &Header::closebox(); } -my $dnssec_status = &General::dnssec_status(); -if ($dnssec_status eq "off") { - $warnmessage .= "
  • $Lang::tr{'dnssec disabled warning'}
  • "; -} - # Fireinfo if ( ! -e "/var/ipfire/main/send_profile") { $warnmessage .= "
  • $Lang::tr{'fireinfo please enable'}
  • ";