1
0
Fork 0
mirror of https://github.com/moby/moby.git synced 2022-11-09 12:21:53 -05: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:
Adam Miller 2014-02-13 12:11:38 -06:00
parent 3f1e6b6368
commit 4317011e21

View file

@ -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() {