3 # $NetBSD: savecore,v 1.7 2004/08/13 18:08:03 mycroft Exp $
10 $_rc_subr_loaded .
/etc
/rc.subr
14 start_cmd
="savecore_start"
19 # /var/crash should be a directory or a symbolic link
20 # to the crash directory if core dumps are to be saved.
22 if [ -d "${savecore_dir}/." ]; then
23 echo "Checking for core dump..."
25 savecore
$rc_flags "${savecore_dir}"
28 warn
"No crash dump directory; savecore not run."