From 39abbed7cbdd57e28ac3bd8ccb3b47b709467092 Mon Sep 17 00:00:00 2001 From: Richard Yao Date: Sun, 15 Jul 2012 08:47:02 -0400 Subject: [PATCH] Fix savecore init script to execute after dumpon, but before encswap This ensures that any kernel crash dumps are available when savecore runs. It also prevents encswap from corrupting them. --- init.d/savecore.in | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/init.d/savecore.in b/init.d/savecore.in index 14230466..b04d1be9 100644 --- a/init.d/savecore.in +++ b/init.d/savecore.in @@ -6,7 +6,8 @@ description="Saves a kernel dump." depend() { - need localmount + need dumpon localmount + before encswap keyword -jail }