]> git.pld-linux.org Git - packages/rc-scripts.git/blob - rc-scripts-svn.patch
- rel 6; disabling ipv6 dropped
[packages/rc-scripts.git] / rc-scripts-svn.patch
1 Index: sysconfig/network-scripts/functions.network
2 ===================================================================
3 --- sysconfig/network-scripts/functions.network (wersja 12211)
4 +++ sysconfig/network-scripts/functions.network (kopia robocza)
5 @@ -370,8 +370,12 @@
6  
7  modprobe_net()
8  {
9 -       if is_yes "$IPV6_NETWORKING" && is_module "ipv6"; then
10 -               _modprobe single ipv6
11 +       if is_yes "$IPV6_NETWORKING"; then
12 +               if is_module "ipv6"; then
13 +                       _modprobe single ipv6
14 +               fi
15 +       elif [ -d /proc/sys/net/ipv6 ]; then
16 +               sysctl -w net.ipv6.conf.all.disable_ipv6=1
17         fi
18  
19         if is_yes "$IPX" && is_module "ipx"; then
This page took 0.536822 seconds and 3 git commands to generate.