1 |
diff -Nur -x '*.orig' -x '*.rej' e-smith-base-4.18.0/root/usr/lib/perl5/site_perl/esmith/console/configure.pm mezzanine_patched_e-smith-base-4.18.0/root/usr/lib/perl5/site_perl/esmith/console/configure.pm |
2 |
--- e-smith-base-4.18.0/root/usr/lib/perl5/site_perl/esmith/console/configure.pm 2007-03-06 16:56:04.000000000 -0700 |
3 |
+++ mezzanine_patched_e-smith-base-4.18.0/root/usr/lib/perl5/site_perl/esmith/console/configure.pm 2007-03-06 16:55:45.000000000 -0700 |
4 |
@@ -80,7 +80,7 @@ |
5 |
my $default; |
6 |
|
7 |
my $existing_driver = $db->get_value($confEntry); |
8 |
- my $driver1 = $db->get_value("EthernetDriver1"); |
9 |
+ my $skip = ($confEntry eq "EthernetDriver2") ? $db->get_value("EthernetDriver1") : ''; |
10 |
|
11 |
foreach my $adapter ( @adapters ) |
12 |
{ |
13 |
@@ -99,7 +99,11 @@ |
14 |
|
15 |
push(@args, $tag, substr($display_name, 0, 65)); |
16 |
|
17 |
- $default = $tag if (${driver} eq $existing_driver || ${driver} ne $driver1); |
18 |
+ if ($driver ne $skip) |
19 |
+ { |
20 |
+ $default = $tag if $driver eq $existing_driver; |
21 |
+ $default ||= $tag; |
22 |
+ } |
23 |
} |
24 |
|
25 |
push( @args, |