]>
Commit | Line | Data |
---|---|---|
2e0b80ff AM |
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 | |
e6266674 | 11 | + if is_yes "$IPV6_NETWORKING"; then |
2e0b80ff AM |
12 | + if is_module "ipv6"; then |
13 | + _modprobe single ipv6 | |
14 | + fi | |
15 | + elif [ -d /proc/sys/net/ipv6 ]; then | |
743c6c9b | 16 | + sysctl -w net.ipv6.conf.all.disable_ipv6=1 |
2e0b80ff AM |
17 | fi |
18 | ||
19 | if is_yes "$IPX" && is_module "ipx"; then |