From 4317011e21b4e4025a9c92c7dc255fbf62af573a Mon Sep 17 00:00:00 2001 From: Adam Miller Date: Thu, 13 Feb 2014 12:11:38 -0600 Subject: [PATCH] remove unneeded sysctl changes in sysvinit-redhat init script Docker-DCO-1.1-Signed-off-by: Adam Miller (github: maxamillion) --- contrib/init/sysvinit-redhat/docker | 5 ----- 1 file changed, 5 deletions(-) diff --git a/contrib/init/sysvinit-redhat/docker b/contrib/init/sysvinit-redhat/docker index 4ee46bb02b..2b75c6903f 100755 --- a/contrib/init/sysvinit-redhat/docker +++ b/contrib/init/sysvinit-redhat/docker @@ -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() {