diff options
author | Richard Yao <ryao@cs.stonybrook.edu> | 2012-07-15 08:47:02 -0400 |
---|---|---|
committer | William Hubbs <w.d.hubbs@gmail.com> | 2012-07-15 14:01:03 -0500 |
commit | 39abbed7cbdd57e28ac3bd8ccb3b47b709467092 (patch) | |
tree | a9270eab7cdddc73b5591ad87bbb0e9f000e30d3 | |
parent | 0730ac61e8e674c5751ff8fa3857184326a40460 (diff) |
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.
-rw-r--r-- | init.d/savecore.in | 3 |
1 files changed, 2 insertions, 1 deletions
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 } |