gluon-core: get rid of old sysctl settings

This commit is contained in:
Matthias Schiffer 2018-04-13 14:08:04 +02:00 committed by Jan-Tarek Butt
parent 32893f879b
commit 5089324635

View File

@ -0,0 +1,8 @@
#!/bin/sh
# This script can be removed after Gluon v2018.2
# Check for a random line that always was in /etc/sysctl.conf
if grep -qxF 'net.ipv4.ip_forward=1' /etc/sysctl.conf; then
echo '# Defaults are configured in /etc/sysctl.d/* and can be customized in this file' >/etc/sysctl.conf
fi