/[smeserver]/rpms/e-smith-base/sme9/e-smith-base-5.4.0-NICBonding.patch
ViewVC logotype

Contents of /rpms/e-smith-base/sme9/e-smith-base-5.4.0-NICBonding.patch

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


Revision 1.1 - (show annotations) (download)
Sun Mar 17 05:15:13 2013 UTC (11 years, 7 months ago) by wellsi
Branch: MAIN
CVS Tags: e-smith-base-5_4_0-33_el6_sme, e-smith-base-5_4_0-40_el6_sme, e-smith-base-5_4_0-44_el6_sme, e-smith-base-5_4_0-49_el6_sme, e-smith-base-5_4_0-37_el6_sme, e-smith-base-5_4_0-42_el6_sme, e-smith-base-5_4_0-27_el6_sme, e-smith-base-5_4_0-43_el6_sme, e-smith-base-5_4_0-34_el6_sme, e-smith-base-5_4_0-35_el6_sme, e-smith-base-5_4_0-36_el6_sme, e-smith-base-5_4_0-41_el6_sme, e-smith-base-5_4_0-30_el6_sme, e-smith-base-5_4_0-50_el6_sme, e-smith-base-5_4_0-29_el6_sme, e-smith-base-5_4_0-26_el6_sme, e-smith-base-5_4_0-58_el6_sme, e-smith-base-5_4_0-45_el6_sme, e-smith-base-5_4_0-57_el6_sme, e-smith-base-5_4_0-46_el6_sme, e-smith-base-5_4_0-62_el6_sme, e-smith-base-5_4_0-32_el6_sme, e-smith-base-5_4_0-39_el6_sme, e-smith-base-5_4_0-56_el6_sme, e-smith-base-5_4_0-52_el6_sme, e-smith-base-5_4_0-54_el6_sme, e-smith-base-5_4_0-51_el6_sme, e-smith-base-5_4_0-47_el6_sme, e-smith-base-5_4_0-55_el6_sme, e-smith-base-5_4_0-31_el6_sme, e-smith-base-5_4_0-38_el6_sme, e-smith-base-5_4_0-25_el6_sme, e-smith-base-5_4_0-28_el6_sme, e-smith-base-5_4_0-53_el6_sme, e-smith-base-5_4_0-61_el6_sme, e-smith-base-5_4_0-60_el6_sme, e-smith-base-5_4_0-48_el6_sme, e-smith-base-5_4_0-59_el6_sme
* Sat Mar 16 2013 Ian Wells <esmith@wellsi.com> 5.4.0-25.sme
- Always define InternalInterface NICBonding [SME: 7498]

1 diff -ruN e-smith-base-5.4.0.old/root/usr/share/perl5/vendor_perl/esmith/console/configure.pm e-smith-base-5.4.0/root/usr/share/perl5/vendor_perl/esmith/console/configure.pm
2 --- e-smith-base-5.4.0.old/root/usr/share/perl5/vendor_perl/esmith/console/configure.pm 2013-03-16 21:39:42.000000000 -0700
3 +++ e-smith-base-5.4.0/root/usr/share/perl5/vendor_perl/esmith/console/configure.pm 2013-03-16 21:41:59.000000000 -0700
4 @@ -1564,9 +1564,11 @@
5 {
6 my (undef, $driver1, undef, undef) = split (/\s+/, $adapters[0], 4);
7 my (undef, $driver2, undef, undef) = split (/\s+/, $adapters[1], 4);
8 + my $val = $db->get_prop('InternalInterface', 'NICBonding');
9 + if (!defined $val){$db->set_prop('InternalInterface', 'NICBonding', 'disabled');}
10 + $val ||= 'disabled';
11 if($driver1 eq $driver2)
12 - {
13 - my $val = $db->get_prop('InternalInterface', 'NICBonding') || 'disabled';
14 + {
15 my @args = (
16 gettext("enabled"), gettext("Enable NIC bonding"),
17 gettext("disabled"), gettext("Disable NIC bonding")
18 @@ -1575,7 +1577,7 @@
19 ($rc, $choice) = $console->menu_page
20 (
21 title => gettext("NIC Bonding"),
22 - default => gettext($val),
23 + default => gettext($val),
24 text =>
25 gettext("You have more than one network adapter. Would you like to bond them together into a single interface? This can provide greater throughput and/or failure resiliency, depending on your adapters and network configuration."),
26 argsref => \@args

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