]> git.ipfire.org Git - people/pmueller/ipfire-2.x.git/commitdiff
index.cgi: Remove left-over DNSSEC status warning
authorMichael Tremer <michael.tremer@ipfire.org>
Thu, 14 Oct 2021 13:26:30 +0000 (13:26 +0000)
committerArne Fitzenreiter <arne_f@ipfire.org>
Tue, 19 Oct 2021 11:24:07 +0000 (11:24 +0000)
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 <michael.tremer@ipfire.org>
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
config/cfgroot/general-functions.pl
html/cgi-bin/index.cgi

index de608e38b8f8f5827e6ffe40ad5b196028947b38..f72d6588cf1358f4bc7fc0ab7402efed9420b187 100644 (file)
@@ -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 = <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>);
index fafbe0aa1a97537f1f3fe61da5755346c97f24b6..948fdde5515cad8a7d46721c237968bc788ccbb9 100644 (file)
@@ -536,11 +536,6 @@ END
 &Header::closebox();
 }
 
-my $dnssec_status = &General::dnssec_status();
-if ($dnssec_status eq "off") {
-       $warnmessage .= "<li>$Lang::tr{'dnssec disabled warning'}</li>";
-}
-
 # Fireinfo
 if ( ! -e "/var/ipfire/main/send_profile") {
        $warnmessage .= "<li><a style='color: white;' href='fireinfo.cgi'>$Lang::tr{'fireinfo please enable'}</a></li>";