From: Michael Tremer Date: Tue, 13 Sep 2011 18:44:48 +0000 (+0200) Subject: Remove OpenVPN changes in index.cgi. X-Git-Tag: v2.9-core53~2^2~1 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=42a1655807987cc2c51cd06cfa832dbf4de0639a;p=people%2Fms%2Fipfire-2.x.git Remove OpenVPN changes in index.cgi. --- diff --git a/html/cgi-bin/index.cgi b/html/cgi-bin/index.cgi index 0ef95ba8ca..b325250a58 100644 --- a/html/cgi-bin/index.cgi +++ b/html/cgi-bin/index.cgi @@ -390,25 +390,6 @@ END END } -### -# m.a.d n2n -### - -if ( -d "${General::swroot}/ovpn/n2nconf") { -my %confighash=(); -&General::readhasharray("${General::swroot}/ovpn/ovpnconfig", \%confighash); -foreach my $dkey (keys %confighash) { -if ($confighash{$dkey}[0] eq 'on' && $confighash{$dkey}[3] eq 'net') { -my @n2novpnet = split(/\//,$confighash{$dkey}[27]); - print <OpenVPN n2n
- $n2novpnet[0] - $confighash{$dkey}[6] -END -} -} - } - # Fireinfo if ( ! -e "/var/ipfire/main/send_profile") { $warnmessage .= "
  • $Lang::tr{'fireinfo please enable'}
  • ";