diff options
| author | Craig Jennings <c@cjennings.net> | 2025-05-10 22:20:18 -0500 |
|---|---|---|
| committer | Craig Jennings <c@cjennings.net> | 2025-05-10 22:20:18 -0500 |
| commit | 8f9aaabaa7429be72599008ec5eb500a0a273253 (patch) | |
| tree | afbe627ce1c56205611251abf30f0bc44cd70059 /root_scripts | |
| parent | 336b217d2c9db1118700a7dd19cd952c329aa8d1 (diff) | |
rename boot_config and add core dump file prevention
Diffstat (limited to 'root_scripts')
| -rwxr-xr-x | root_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 |
