зеркало из https://github.com/microsoft/docker.git
remove unneeded sysctl changes in sysvinit-redhat init script
Docker-DCO-1.1-Signed-off-by: Adam Miller <admiller@redhat.com> (github: maxamillion)
This commit is contained in:
Родитель
3f1e6b6368
Коммит
4317011e21
|
@ -37,11 +37,6 @@ prestart() {
|
|||
service cgconfig start
|
||||
fi
|
||||
|
||||
preexec="/sbin/sysctl"
|
||||
[ -x $preexec ] || exit 6
|
||||
$preexec -w net.ipv4.ip_forward=1 > /dev/null 2>&1
|
||||
$preexec -w net.ipv6.conf.all.forwarding=1 > /dev/null 2>&1
|
||||
|
||||
}
|
||||
|
||||
start() {
|
||||
|
|
Загрузка…
Ссылка в новой задаче