From 9210d8624c44d0efda356d4bbd7ac44b0afd60b9 Mon Sep 17 00:00:00 2001 From: "Devin J. Pohly" Date: Sat, 26 Nov 2011 12:47:30 +0100 Subject: hooks: add shutdown_preumount hook This would be useful for filesystem monitoring software which needs to capture all changes to the filesystem - including the final writes to the random seed and wtmp. [tomegun: this hook is now the same as the postkillall hook, but that might change, so I agree with adding it for the sake of having sane semantics.] Signed-off-by: Devin J. Pohly Signed-off-by: Tom Gundersen --- functions | 1 + 1 file changed, 1 insertion(+) (limited to 'functions') diff --git a/functions b/functions index 74719db..d796825 100644 --- a/functions +++ b/functions @@ -555,6 +555,7 @@ bootlogd_stop() { # single_prekillall: before all processes are being killed in rc.single # shutdown_postkillall: after all processes have been killed in rc.shutdown # single_postkillall: after all processes have been killed in rc.single +# shutdown_preumount: after last filesystem write, but before filesystems are unmounted # shutdown_postumount: after filesystems are unmounted # shutdown_poweroff: directly before powering off in rc.shutdown # -- cgit v1.2.3