mirror of
https://github.com/clearlinux/docker.git
synced 2026-09-04 04:31:28 +00:00
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:
@@ -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() {
|
||||
|
||||
Reference in New Issue
Block a user