|
Lines 204-209
if [[ ${mount_worked} -eq 1 ]]; then
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 |
conf=$(add_suffix /etc/conf.d/checkfs) |
| 211 |
if [[ -e ${conf} ]] ; then |
| 212 |
( |
| 213 |
. ${conf} |
| 214 |
if [[ ${FSCK_SHUTDOWN} == "yes" && ! -f /forcefsck ]]; then |
| 215 |
. /etc/init.d/checkfs |
| 216 |
start |
| 217 |
fi |
| 218 |
) |
| 219 |
fi |
| 220 |
|
| 207 |
# Inform if there is a forced or skipped fsck |
221 |
# Inform if there is a forced or skipped fsck |
| 208 |
if [[ -f /fastboot ]]; then |
222 |
if [[ -f /fastboot ]]; then |
| 209 |
echo |
223 |
echo |