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 204-209 Link Here
204
	/sbin/sulogin -t 10 /dev/console
204
	/sbin/sulogin -t 10 /dev/console
205
fi
205
fi
206
206
207
# Conditionally run filesystem checks. Note that /forcefsck skips this and
208
# causes the forced checks to run upon boot. This is because doing forced
209
# checks then removing /forcefsck is not practical at this point.
210
if [[ ${RC_FSCK_SHUTDOWN} == "yes" && ! -f /forcefsck ]]; then
211
	# We cannot start init scripts in the usual way at this point, as
212
	# filesystems are mounted read-only.
213
	( . /etc/init.d/checkfs; start )
214
fi
215
207
# Inform if there is a forced or skipped fsck
216
# Inform if there is a forced or skipped fsck
208
if [[ -f /fastboot ]]; then
217
if [[ -f /fastboot ]]; then
209
	echo
218
	echo
(-)etc/conf.d/rc (+9 lines)
Lines 120-125 Link Here
120
120
121
RC_FORCE_AUTO="no"
121
RC_FORCE_AUTO="no"
122
122
123
# RC_FSCK_SHUTDOWN causes checkfs to trigger during shutdown as well as startup.
124
# The end result of this is that if any periodic non-root filesystem checks are
125
# scheduled, under normal circumstances the actual check will happen during
126
# shutdown rather than at next boot.
127
# This is useful when periodic filesystem checks are causing undesirable
128
# delays at startup, but such delays at shutdown are acceptable.
129
130
RC_FSCK_SHUTDOWN="no"
131
123
# Use this variable to control the /dev management behavior.
132
# Use this variable to control the /dev management behavior.
124
#  auto   - let the scripts figure out what's best at boot
133
#  auto   - let the scripts figure out what's best at boot
125
#  devfs  - use devfs (requires sys-fs/devfsd)
134
#  devfs  - use devfs (requires sys-fs/devfsd)

Return to bug 152983