Set kernel settings in setup_device.sh

This commit is contained in:
Taylor Helsper 2020-03-30 23:38:54 -05:00 committed by GitHub
parent 36cd6f34e9
commit e640fa7ca1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -45,6 +45,11 @@ if [ $IS_UNKNOWN = 1 ]; then
exit 1
fi
# Set kernel settings
sysctl -w net.ipv6.conf.all.disable_ipv6=1
sysctl -w net.ipv6.conf.default.disable_ipv6=1
sysctl -w net.ipv6.conf.lo.disable_ipv6=1
# Make sure FS is expanded for armbian
if [ $IS_ARMBIAN = 1 ] ; then