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

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

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


Revision 1.1 - (show annotations) (download)
Sat Jun 8 09:58:58 2013 UTC (11 years, 5 months ago) by vip-ire
Branch: MAIN
CVS Tags: 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-42_el6_sme, e-smith-base-5_4_0-43_el6_sme, e-smith-base-5_4_0-41_el6_sme, e-smith-base-5_4_0-50_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-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-38_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 Jun 8 2013 Daniel Berteaud <daniel@firewall-services.com> 5.4.0-38.sme
- Disable IPv6 on a default install (patch by Shad Lords) [SME: 7531]

1 diff -Nur e-smith-base-5.4.0/root/etc/e-smith/templates/etc/sysctl.conf/net.ipv6 e-smith-base-5.4.0-ipv6/root/etc/e-smith/templates/etc/sysctl.conf/net.ipv6
2 --- e-smith-base-5.4.0/root/etc/e-smith/templates/etc/sysctl.conf/net.ipv6 1970-01-01 01:00:00.000000000 +0100
3 +++ e-smith-base-5.4.0-ipv6/root/etc/e-smith/templates/etc/sysctl.conf/net.ipv6 2013-06-08 11:56:36.911219332 +0200
4 @@ -0,0 +1,10 @@
5 +{
6 + if ( ($IPv6{status} || 'disabled') ne "enabled" ) {
7 + $OUT .= "# IPv6 is disabled\n";
8 + $OUT .= "net.ipv6.conf.all.disable_ipv6 = 1\n";
9 + $OUT .= "net.ipv6.conf.default.disable_ipv6 = 1\n";
10 + }
11 + else {
12 + $OUT .= "# IPv6 is enabled\n";
13 + }
14 +}

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