|
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 |
|