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

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

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


Revision 1.1 - (show annotations) (download)
Sat Nov 30 11:28:18 2013 UTC (10 years, 11 months ago) by vip-ire
Branch: MAIN
CVS Tags: e-smith-base-5_4_0-62_el6_sme, e-smith-base-5_4_0-56_el6_sme, e-smith-base-5_4_0-55_el6_sme, e-smith-base-5_4_0-57_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-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-58_el6_sme, e-smith-base-5_4_0-59_el6_sme
* Sat Nov 30 2013 Daniel Berteaud <daniel@firewall-services.com> 5.4.0-51.sme
- Load the bonding module if NIC bonding is enabled [SME: 7996]

1 diff -Nur e-smith-base-5.4.0/createlinks e-smith-base-5.4.0_bz7996/createlinks
2 --- e-smith-base-5.4.0/createlinks 2013-11-11 13:10:56.815241187 +0100
3 +++ e-smith-base-5.4.0_bz7996/createlinks 2013-11-11 13:14:14.073526941 +0100
4 @@ -53,6 +53,7 @@
5
6 foreach (qw(
7 /etc/sysconfig/network-scripts/ifcfg-bond0
8 + /etc/modprobe.d/bonding.conf
9 /etc/sysconfig/network
10 /etc/nsswitch.conf
11 /etc/HOSTNAME
12 diff -Nur e-smith-base-5.4.0/root/etc/e-smith/templates/etc/modprobe.d/bonding.conf/10bonding e-smith-base-5.4.0_bz7996/root/etc/e-smith/templates/etc/modprobe.d/bonding.conf/10bonding
13 --- e-smith-base-5.4.0/root/etc/e-smith/templates/etc/modprobe.d/bonding.conf/10bonding 1970-01-01 01:00:00.000000000 +0100
14 +++ e-smith-base-5.4.0_bz7996/root/etc/e-smith/templates/etc/modprobe.d/bonding.conf/10bonding 2013-11-11 13:13:34.803468868 +0100
15 @@ -0,0 +1,5 @@
16 +{
17 + return "# Bonding is disabled" unless
18 + (($InternalInterface{'NICBonding'} || 'disabled') eq 'enabled');
19 + $OUT .= "alias bond0 bonding";
20 +}

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