gluon-core: get rid of old sysctl settings

This commit is contained in:
Matthias Schiffer 2018-04-13 14:08:04 +02:00
parent 9b937a8c64
commit ba9fc94e85
No known key found for this signature in database
GPG Key ID: 16EF3F64CB201D9C

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