/[smeserver]/rpms/e-smith-base/sme8/e-smith-base-5.2.0-ConsoleNetwork.patch
ViewVC logotype

Annotation of /rpms/e-smith-base/sme8/e-smith-base-5.2.0-ConsoleNetwork.patch

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.1 - (hide annotations) (download)
Sat Mar 17 05:21:42 2012 UTC (12 years, 8 months ago) by wellsi
Branch: MAIN
CVS Tags: e-smith-base-5_2_0-67_el5_sme, e-smith-base-5_2_0-71_el5_sme, e-smith-base-5_2_0-68_el5_sme, e-smith-base-5_2_0-77_el5_sme, e-smith-base-5_2_0-78_el5_sme, e-smith-base-5_2_0-86_el5_sme, e-smith-base-5_2_0-76_el5_sme, e-smith-base-5_2_0-84_el5_sme, e-smith-base-5_2_0-65_el5_sme, e-smith-base-5_2_0-88_el5_sme, e-smith-base-5_2_0-64_el5_sme, e-smith-base-5_2_0-81_el5_sme, e-smith-base-5_2_0-82_el5_sme, e-smith-base-5_2_0-89_el5_sme, e-smith-base-5_2_0-90_el5_sme, e-smith-base-5_2_0-87_el5_sme, e-smith-base-5_2_0-80_el5_sme, e-smith-base-5_2_0-70_el5_sme, e-smith-base-5_2_0-66_el5_sme, e-smith-base-5_2_0-85_el5_sme, e-smith-base-5_2_0-69_el5_sme, e-smith-base-5_2_0-79_el5_sme, e-smith-base-5_2_0-72_el5_sme, e-smith-base-5_2_0-75_el5_sme, e-smith-base-5_2_0-73_el5_sme, e-smith-base-5_2_0-74_el5_sme, e-smith-base-5_2_0-83_el5_sme
- Add MAC address into console network selection [SME: 6844]

1 wellsi 1.1 diff -ruN e-smith-base-5.2.0.old/root/usr/lib/perl5/site_perl/esmith/console/configure.pm e-smith-base-5.2.0/root/usr/lib/perl5/site_perl/esmith/console/configure.pm
2     --- e-smith-base-5.2.0.old/root/usr/lib/perl5/site_perl/esmith/console/configure.pm 2012-02-05 00:14:41.000000000 +0000
3     +++ e-smith-base-5.2.0/root/usr/lib/perl5/site_perl/esmith/console/configure.pm 2012-03-17 04:33:45.000000000 +0000
4     @@ -81,21 +81,23 @@
5    
6     foreach my $adapter ( @adapters )
7     {
8     - my ($parameter, $driver, $hwaddr, $chipset) = split (/\s+/, $adapter, 4);
9     + my ($parameter, $driver, $hwaddr, $chipset) = split (/\t/, $adapter, 4);
10     chomp($chipset);
11     +
12     + #Ensure these are defined to at least "N/A" as no selection is shown if these are not defined.
13     + $hwaddr = "N/A" unless $hwaddr;
14     + $driver = "N/A" unless $driver;
15    
16     my $tag = ++$item . ".";
17    
18     $tag2driver{$tag} = $driver;
19     $tag2hwaddr{$tag} = $hwaddr;
20     -
21     - my $display_name = gettext("Use") . " " . ${driver} . " " .
22     - gettext("for chipset") . " " . ${chipset};
23     -
24     - push(@args, $tag, substr($display_name, 0, 65));
25     +
26     + my $display_name = gettext("Use") ." ". ${driver}. " " . $hwaddr ." ". ${chipset};
27    
28     if ($hwaddr ne $skip)
29     {
30     + push(@args, $tag, substr($display_name, 0, 65));
31     $default = $tag if $hwaddr eq $existing_hwaddr;
32     $default ||= $tag;
33     }
34    
35    
36    
37    

admin@koozali.org
ViewVC Help
Powered by ViewVC 1.2.1 RSS 2.0 feed