summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2021-01-20 20:35:22 +0100
committerChristian Poessinger <christian@poessinger.com>2021-01-20 20:35:22 +0100
commit828f51bb56bc85d5d1c06c09077504b2e350c82e (patch)
treef0d63df263cc0a2fe42cc4b865ad1eb59a511195
parentf97f4aca4066e288b2cb13678244ea25c16602ee (diff)
downloadvyos-build-828f51bb56bc85d5d1c06c09077504b2e350c82e.tar.gz
vyos-build-828f51bb56bc85d5d1c06c09077504b2e350c82e.zip
sysctl: remove redundant configuration as this is done in vyos-1x
-rwxr-xr-xdata/live-build-config/hooks/live/08-sysconf.chroot13
1 files changed, 0 insertions, 13 deletions
diff --git a/data/live-build-config/hooks/live/08-sysconf.chroot b/data/live-build-config/hooks/live/08-sysconf.chroot
index d0014745..aac17585 100755
--- a/data/live-build-config/hooks/live/08-sysconf.chroot
+++ b/data/live-build-config/hooks/live/08-sysconf.chroot
@@ -25,19 +25,6 @@ update_sysctl_conf ()
update_sysctl_conf kernel.printk "4 4 1 7" \
"the following stops low-level messages on console"
-update_sysctl_conf net.ipv4.conf.all.promote_secondaries 1 \
- "promote secondaries with removal of primary address"
-update_sysctl_conf net.ipv4.ip_forward 1 \
- "enable ipv4 forwarding"
-# FIXME! need to load or staticly link ipv6 module before adding this.
-# update_sysctl_conf net.ipv6.conf.all.forwarding 1 \
-# "enable ipv6 forwarding"
-update_sysctl_conf net.core.rmem_max 223232 \
- "maximize netlink buffers"
-update_sysctl_conf net.ipv4.conf.all.send_redirects 0 \
- "disable IPv4 ICMP redirects"
-update_sysctl_conf net.ipv4.conf.default.send_redirects 0 \
- "disable IPv4 ICMP redirects"
# Local Variables:
# mode: shell-script