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 |
+} |