summaryrefslogtreecommitdiff
path: root/README.modules
diff options
context:
space:
mode:
authorDave Young <dyoung@redhat.com>2012-04-19 12:01:36 +0800
committerHarald Hoyer <harald@redhat.com>2012-04-19 11:59:45 +0200
commit2e7257a2e3bf91c11e8cc56f609b288403f9be14 (patch)
treed3c8a7711835bd16755eeb2525179f665ec4a370 /README.modules
parent76b83902dc28c8b7240c346b3e9a721712301bbf (diff)
downloaddracut-2e7257a2e3bf91c11e8cc56f609b288403f9be14.tar.gz
dracut-2e7257a2e3bf91c11e8cc56f609b288403f9be14.tar.bz2
dracut-2e7257a2e3bf91c11e8cc56f609b288403f9be14.zip
add pre-pivot-cleanup hook
Sometimes some hook script will need to be before the cleanup hook scripts For example dhclient killing, nfs cleanup, etc. must not happen before kdump because it will use their fuctionalities. So here introduce a new hook pre-pivot-cleanup, all cleanup scripts will go there. that means pre-pivot hook is splited to two hooks pre-pivot and pre-pivot-cleanup Signed-off-by: Dave Young <dyoung@redhat.com>
Diffstat (limited to 'README.modules')
-rw-r--r--README.modules3
1 files changed, 3 insertions, 0 deletions
diff --git a/README.modules b/README.modules
index 21461de3..188d0119 100644
--- a/README.modules
+++ b/README.modules
@@ -103,6 +103,9 @@ init has the following hook points to inject scripts:
a timeout.
/lib/dracut/hooks/pre-pivot/*.sh
+ scripts to run before latter initramfs cleanups
+
+/lib/dracut/hooks/pre-pivot-cleanup/*.sh
scripts to run before the real init is executed and the initramfs
disappears
All processes started before should be killed here.