Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 152983 | Differences between
and this patch

Collapse All | Expand All

(-)init.d/halt.sh (+9 lines)
Lines 87-92 Link Here
87
do_unmount "umount" "${RC_NO_UMOUNTS}"
87
do_unmount "umount" "${RC_NO_UMOUNTS}"
88
eend $?
88
eend $?
89
89
90
# Conditionally run filesystem checks. Note that /forcefsck skips this and
91
# causes the forced checks to run upon boot. This is because doing forced
92
# checks then removing /forcefsck is not practical at this point.
93
if [[ ${RC_FSCK_SHUTDOWN} == "yes" && ! -f /forcefsck ]]; then
94
	# We cannot start init scripts in the usual way at this point, as
95
	# filesystems are mounted read-only.
96
	( . /etc/init.d/checkfs; start )
97
fi
98
90
# Try to remove any dm-crypt mappings
99
# Try to remove any dm-crypt mappings
91
stop_addon dm-crypt
100
stop_addon dm-crypt
92
101
(-)conf.d/rc (+8 lines)
Lines 66-72 Link Here
66
66
67
RC_FORCE_AUTO="no"
67
RC_FORCE_AUTO="no"
68
68
69
# RC_FSCK_SHUTDOWN causes checkfs to trigger during shutdown as well as startup.
70
# The end result of this is that if any periodic non-root filesystem checks are
71
# scheduled, under normal circumstances the actual check will happen during
72
# shutdown rather than at next boot.
73
# This is useful when periodic filesystem checks are causing undesirable
74
# delays at startup, but such delays at shutdown are acceptable.
69
75
76
RC_FSCK_SHUTDOWN="no"
77
70
##############################################################################
78
##############################################################################
71
# LINUX SPECIFIC OPTIONS
79
# LINUX SPECIFIC OPTIONS
72
80

Return to bug 152983