X-Git-Url: http://git.ipfire.org/?p=people%2Fteissler%2Fipfire-2.x.git;a=blobdiff_plain;f=config%2Fcfgroot%2Fgeneral-functions.pl;fp=config%2Fcfgroot%2Fgeneral-functions.pl;h=5cac38d7e3de86540b339cb92e13163c896d2a2f;hp=6709c2b8548f0fc4b6b0fbd3188e8707549014dd;hb=c7043621fc4cf73f30749d21310a8569fbf1c78f;hpb=6ba1cd4ceba9d4b343e5afb47e206e7a507f226c diff --git a/config/cfgroot/general-functions.pl b/config/cfgroot/general-functions.pl index 6709c2b85..5cac38d7e 100644 --- a/config/cfgroot/general-functions.pl +++ b/config/cfgroot/general-functions.pl @@ -66,6 +66,9 @@ sub setup_default_networks $defaultNetworks->{$Lang::tr{'blue'}}{'IPT'} = "$netsettings{'BLUE_NETADDRESS'}/$netsettings{'BLUE_NETMASK'}"; $defaultNetworks->{$Lang::tr{'blue'}}{'NAME'} = "BLUE"; } + + #IPFire himself + $defaultNetworks->{'IPFire'}{'NAME'} = "IPFire"; # OpenVPN if(-e "${General::swroot}/ovpn/settings") @@ -97,22 +100,6 @@ sub setup_default_networks $defaultNetworks->{'IPsec RW ' .$ip."/".$sub}{'NAME'} = "IPsec RW"; } } - #open(FILE, "${General::swroot}/ethernet/aliases") or die 'Unable to open aliases file.'; - #my @current = ; - #close(FILE); - #my $ctr = 0; - #foreach my $line (@current) - #{ - #if ($line ne ''){ - #chomp($line); - #my @temp = split(/\,/,$line); - #if ($temp[2] eq '') { - #$temp[2] = "Alias $ctr : $temp[0]"; - #} - #$defaultNetworks->{$temp[2]}{'IPT'} = "$temp[0]"; - #$ctr++; - #} - #} } sub get_aliases {