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/boot_config.sh | |
| parent | 336b217d2c9db1118700a7dd19cd952c329aa8d1 (diff) | |
rename boot_config and add core dump file prevention
Diffstat (limited to 'root_scripts/boot_config.sh')
| -rwxr-xr-x | root_scripts/boot_config.sh | 29 |
1 files changed, 0 insertions, 29 deletions
diff --git a/root_scripts/boot_config.sh b/root_scripts/boot_config.sh deleted file mode 100755 index 4347ae8..0000000 --- a/root_scripts/boot_config.sh +++ /dev/null @@ -1,29 +0,0 @@ -#!/bin/sh -# Craig Jennings <c@cjennings.net> -# speeds and tidies the boot sequence - -# ensure root -if ! [ $(id -u) -eq 0 ] -then - echo "Must run as root. Exiting." - exit -fi - -# disable devil icon in boot menu -sysrc -f /boot/loader.conf loader_logo="none" - -# hide kernel diagnostics -sysrc -f /boot/loader.conf boot_mute="YES" - -# reduce default wait time before boot -sysrc -f /boot/loader.conf autoboot_delay=2 - -# don't print start messages -sysrc rc_startmsgs=NO - -# create console.log with the proper permissions -touch /var/log/console.log -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 |
