summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xdata/live-build-config/hooks/live/08-sysconf.chroot4
-rwxr-xr-xscripts/build-submodules3
2 files changed, 5 insertions, 2 deletions
diff --git a/data/live-build-config/hooks/live/08-sysconf.chroot b/data/live-build-config/hooks/live/08-sysconf.chroot
index 8d1616c..d403d04 100755
--- a/data/live-build-config/hooks/live/08-sysconf.chroot
+++ b/data/live-build-config/hooks/live/08-sysconf.chroot
@@ -38,6 +38,10 @@ update_sysctl_conf net.ipv4.ip_forward 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
diff --git a/scripts/build-submodules b/scripts/build-submodules
index d58a84c..4e790ed 100755
--- a/scripts/build-submodules
+++ b/scripts/build-submodules
@@ -247,8 +247,7 @@ build_accel-ppp() {
fi
if [ ! -f "packages/vyos-kernel/Makefile" ]; then
- status_fail
- error_msg "No Makefile found in kernel package"
+ error_msg "Something wrong with the kernel module?"
return 1
fi