From 06b4ed7da352248c760e6a78273ffd4ca7f435d7 Mon Sep 17 00:00:00 2001 From: "Kurt J. Bosch" Date: Wed, 22 Jun 2011 12:07:45 +0200 Subject: Allow custom fsck on shutdown via hook (FS#18736) --- functions | 3 +++ 1 file changed, 3 insertions(+) (limited to 'functions') diff --git a/functions b/functions index 9b6f695..a02bd3b 100644 --- a/functions +++ b/functions @@ -316,6 +316,8 @@ read_crypttab() { return $failed } +NETFS="nonfs,nonfs4,nosmbfs,nocifs,nocodafs,noncpfs,nosysfs,noshfs,nofuse,nofuseblk,noglusterfs,nodavfs" + fsck_all() { stat_busy "Checking Filesystems" FSCK_OUT=/dev/stdout @@ -401,6 +403,7 @@ fsck_reboot() { # 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_postumount: after filesystems are unmounted # shutdown_poweroff: directly before powering off in rc.shutdown # # Declare add_hook and run_hook as read-only to prevent overwriting them. -- cgit v1.2.3