Enable core dumps to /tmp if the system was booted without boot_mute
Open
- Dominant language
- Shell
- Stars
- 847
- Forks
- 66
- PR merge metrics
- No merged PRs in 30d
Description
```
# Enable core dumps to /tmp if the system was booted without boot_mute
if [ "$(sysctl -q -n kern.consmute)" = "0" ] ; then
sysctl savecore_enable="YES" # Kernel dumps
sysctl kern.coredump=1
sysctl kern.corefile="/tmp/%N.core"
fi
```
But where to run this? Put it into its own rc file?
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.