1
0
Fork 0

Configure system

This commit is contained in:
Braiden Vasco 2017-10-20 00:08:52 +00:00
parent 5b3f1727cb
commit cfb4c0b763
2 changed files with 12 additions and 0 deletions

View File

@ -145,6 +145,11 @@ EOF
apply_file 644 '/boot/cmdline.txt'
apply_file 644 '/boot/config.txt'
##
# Configure system.
#
apply_file 644 '/etc/sysctl.conf'
##
# This script is executed at the end of each multiuser runlevel.
#

7
files/etc/sysctl.conf Normal file
View File

@ -0,0 +1,7 @@
net.ipv4.ip_forward = 0
net.ipv6.conf.all.disable_ipv6 = 1
net.ipv6.conf.default.disable_ipv6 = 1
net.ipv6.conf.lo.disable_ipv6 = 1
net.ipv6.conf.eth0.disable_ipv6 = 1
net.ipv6.conf.wlan0.disable_ipv6 = 1