diff options
author | carlosg <carlosg> | 2006-05-29 11:44:57 +0000 |
---|---|---|
committer | carlosg <carlosg> | 2006-05-29 11:44:57 +0000 |
commit | be170fdbebd4d6f492d36d4f1278ff83451d9edf (patch) | |
tree | 8676ea9422a3b5e0cee8fadc4fb594804569a5dc /Network | |
parent | 56145676db8657ccfa4dc77907d158c93f5dee56 (diff) |
2006-05-29 Joe Marcus Clarke <marcus@freebsd.org>
* Network/Ifaces.pm: fix wireless support, improve interface type
detection.
* Init/Services.pm, Init/ServicesList.pm, Network/Hosts.pm,
Network/Ifaces.pm, Shares/SMB.pm, Time/NTP.pm, Time/TimeDate.pm,
Users/Users.pm, Utils/Platform.pm: add support for FreeBSD 7
Diffstat (limited to 'Network')
-rw-r--r-- | Network/Hosts.pm | 1 | ||||
-rw-r--r-- | Network/Ifaces.pm | 6 |
2 files changed, 5 insertions, 2 deletions
diff --git a/Network/Hosts.pm b/Network/Hosts.pm index 899245e..2195fa2 100644 --- a/Network/Hosts.pm +++ b/Network/Hosts.pm @@ -79,6 +79,7 @@ sub get_fqdn_parse_table "vlos-1.2" => "gentoo", "freebsd-5" => "freebsd-5", "freebsd-6" => "freebsd-5", + "freebsd-7" => "freebsd-5", ); my %dist_tables = diff --git a/Network/Ifaces.pm b/Network/Ifaces.pm index 1a9cc9e..b21976d 100644 --- a/Network/Ifaces.pm +++ b/Network/Ifaces.pm @@ -114,7 +114,7 @@ sub get_freebsd_wireless_ifaces my ($fd, $line, $iface); my (@ifaces, $command); - $command = &Utils::File::get_cmd_path ("iwconfig"); + $command = &Utils::File::get_cmd_path ("ifconfig"); open $fd, "$command |"; return @ifaces if $fd eq undef; @@ -178,7 +178,7 @@ sub get_interface_type $types_cache{$dev} = "modem"; } } - elsif ($dev =~ /^(eth|dc|ed|bfe|em|fxp|bge|de|xl|ixgb|txp|vx|lge|nge|pcn|re|rl|sf|sis|sk|ste|ti|tl|tx|vge|vr|wb|cs|ex|ep|fe|ie|lnc|sn|xe|le|an|awi|wi|ndis|wlaue|axe|cue|kue|rue|fwe|nve)[0-9]/) + elsif ($dev =~ /(eth|dc|ed|bfe|em|fxp|bge|de|xl|ixgb|txp|vx|lge|nge|pcn|re|rl|sf|sis|sk|ste|ti|tl|tx|vge|vr|wb|cs|ex|ep|fe|ie|lnc|sn|xe|le|an|awi|wi|ndis|wl|aue|axe|cue|kue|rue|fwe|nve|hme|ath|iwi|ipw|ral|ural|my)[0-9]/) { $types_cache{$dev} = "ethernet"; } @@ -1695,6 +1695,7 @@ sub get_interface_parse_table "vlos-1.2" => "gentoo", "freebsd-5" => "freebsd-5", "freebsd-6" => "freebsd-5", + "freebsd-7" => "freebsd-5", ); my %dist_tables = @@ -2415,6 +2416,7 @@ sub get_interface_replace_table "vlos-1.2" => "gentoo", "freebsd-5" => "freebsd-5", "freebsd-6" => "freebsd-5", + "freebsd-7" => "freebsd-5", ); my %dist_tables = |