Artifact de8547d3243095fec14af7b56ac3ea2f00e1a48cf6010c72f54d9009226b2d09:
- File savecore.init.mk — part of check-in [7a1e7f4a58] at 2019-10-21 16:17:43 on branch trunk — rename, make silent, add correct logging, collapse command (user: arcade, size: 271) [annotate] [blame] [check-ins using]
DUMPDIR?=/var/crash CRASHINFO_ENABLE?=no savecore: dumpon .if empty(DUMPDEV:tl:Mno) && exists(${DUMPDEV}) && exists(${DUMPDIR}) echo "MRC:$@> Saving coredump."; \ savecore ${DUMPDIR} ${DUMPDEV} .if empty(CRASHINFO_ENABLE:tl:Mno) crashinfo -d ${DUMPDIR} .endif .endif