]> git.ipfire.org Git - ipfire-2.x.git/commitdiff
Remove some httpd errorlog entries.
authorArne Fitzenreiter <arne_f@ipfire.org>
Wed, 19 Jan 2011 16:47:56 +0000 (17:47 +0100)
committerArne Fitzenreiter <arne_f@ipfire.org>
Wed, 19 Jan 2011 16:47:56 +0000 (17:47 +0100)
config/rootfiles/core/45/filelists/files
html/cgi-bin/connections.cgi
html/cgi-bin/index.cgi
html/cgi-bin/pppsetup.cgi
html/cgi-bin/proxy.cgi
html/cgi-bin/vpnmain.cgi

index 46d3991053a30225553ba6d2ded7fa0449a2ad7f..afefcadb0516e8ec9c672c9f5b34b6e949a28483 100644 (file)
@@ -1,4 +1,7 @@
 etc/system-release
 etc/issue
+srv/web/ipfire/cgi-bin/connections.cgi
 srv/web/ipfire/cgi-bin/index.cgi
-srv/web/ipfire/cgi-bin/proxy.cgi
\ No newline at end of file
+srv/web/ipfire/cgi-bin/pppsetup.cgi
+srv/web/ipfire/cgi-bin/proxy.cgi
+srv/web/ipfire/cgi-bin/vpnmain.cgi
index 7b53c009ec7e189161969a2b9a3bed24e5cc86e2..14ee20910509b0e9633e6b5d586039d7cda7d12e 100644 (file)
@@ -2,7 +2,7 @@
 ###############################################################################
 #                                                                             #
 # IPFire.org - A linux based firewall                                         #
-# Copyright (C) 2007  Michael Tremer & Christian Schmidt                      #
+# Copyright (C) 2007-2011  IPFire Team  <info@ipfire.org>                     #
 #                                                                             #
 # This program is free software: you can redistribute it and/or modify        #
 # it under the terms of the GNU General Public License as published by        #
@@ -57,7 +57,7 @@ if (open(IP, "${General::swroot}/red/local-ipaddress")) {
         push(@colour, ${Header::colourfw} );
 }
 
-my @vpn = `/usr/local/bin/ipsecctrl I|grep erouted|cut -d"]" -f3|cut -d"=" -f4|cut -d";" -f1| sed "s|/| |g"`;
+my @vpn = `/usr/local/bin/ipsecctrl I 2>/dev/null|grep erouted|cut -d"]" -f3|cut -d"=" -f4|cut -d";" -f1| sed "s|/| |g"`;
   foreach my $route (@vpn) {
                 chomp($route);
                 my @temp = split(/[\t ]+/, $route);
index 45b0fd74c86f6c3a0c0b358874e24a47b428a7ad..8e623c96afba617949e4ba5753c76a678a3c6fb8 100644 (file)
@@ -431,7 +431,7 @@ foreach my $line (@df) {
 }
 
 # S.M.A.R.T. health warning
-my @files = `/bin/ls /var/run/smartctl_out_hddtemp-*`;
+my @files = `/bin/ls /var/run/smartctl_out_hddtemp-* 2>/dev/null`;
 foreach my $file (@files) {
        chomp ($file);
        my $disk=`echo $file | cut -d"-" -f2`;
index 0bfeabd1b21de84db6dfaf8a5b883fe61bbf7593..e2af0a08870aa529bea4c12cb849ecef5bd5752d 100644 (file)
@@ -2,7 +2,7 @@
 ###############################################################################
 #                                                                             #
 # IPFire.org - A linux based firewall                                         #
-# Copyright (C) 2007  Michael Tremer & Christian Schmidt                      #
+# Copyright (C) 2007-2011  IPFire Team  <info@ipfire.org>                     #
 #                                                                             #
 # This program is free software: you can redistribute it and/or modify        #
 # it under the terms of the GNU General Public License as published by        #
@@ -486,7 +486,7 @@ print <<END
 END
 ;
 
-my $atmdev=`cat /proc/net/atm/devices | grep 0`;
+my $atmdev=`cat /proc/net/atm/devices 2>/dev/null | grep 0`;
 chomp ($atmdev);
 if ($atmdev ne '') {
         print <<END
index f732c5b68c96add3abd9b0b2d9cadc7c2fa969f9..476de52cc3b4ee7e1b829c829a34d8afb7568b34 100644 (file)
@@ -2,7 +2,7 @@
 ###############################################################################
 #                                                                             #
 # IPFire.org - A linux based firewall                                         #
-# Copyright (C) 2010  IPFire Team  <info@ipfire.org>                          #
+# Copyright (C) 2007-2011  IPFire Team  <info@ipfire.org>                     #
 #                                                                             #
 # This program is free software: you can redistribute it and/or modify        #
 # it under the terms of the GNU General Public License as published by        #
index f336ec610aaa8f9f01d3a55c511fcba5840ef485..55582952b5e0b523b8860f4fdf4c885d91459045 100644 (file)
@@ -2,7 +2,7 @@
 ###############################################################################
 #                                                                             #
 # IPFire.org - A linux based firewall                                         #
-# Copyright (C) 2007-2010  IPFire Team  info@ipfire.org                       #
+# Copyright (C) 2007-2011  IPFire Team  info@ipfire.org                       #
 #                                                                             #
 # This program is free software: you can redistribute it and/or modify        #
 # it under the terms of the GNU General Public License as published by        #
@@ -2400,7 +2400,7 @@ EOF
     &General::readhasharray("${General::swroot}/vpn/config", \%confighash);
     $cgiparams{'CA_NAME'} = '';
 
-    my @status = `/usr/local/bin/ipsecctrl I`;
+    my @status = `/usr/local/bin/ipsecctrl I 2>/dev/null`;
 
     # suggest a default name for this side
     if ($cgiparams{'VPN_IP'} eq '' && -e "${General::swroot}/red/active") {