Configure system
This commit is contained in:
parent
5b3f1727cb
commit
cfb4c0b763
5
build.sh
5
build.sh
|
@ -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.
|
||||
#
|
||||
|
|
|
@ -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
|
Reference in New Issue