summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xroot_scripts/system_boot_config.sh (renamed from root_scripts/boot_config.sh)3
1 files changed, 3 insertions, 0 deletions
diff --git a/root_scripts/boot_config.sh b/root_scripts/system_boot_config.sh
index 4347ae8..9e54037 100755
--- a/root_scripts/boot_config.sh
+++ b/root_scripts/system_boot_config.sh
@@ -27,3 +27,6 @@ chmod 600 /var/log/console.log
# move from printing errors to the console to printing them to the above console.log file
sed -i '' 's#/dev/console#/var/log/console.log#' /etc/syslog.conf
+
+# prevent core dumps
+echo "kern.coredump=0" >> /etc/sysctl.conf