aboutsummaryrefslogtreecommitdiff
path: root/rc.sysinit
diff options
context:
space:
mode:
Diffstat (limited to 'rc.sysinit')
-rwxr-xr-xrc.sysinit3
1 files changed, 3 insertions, 0 deletions
diff --git a/rc.sysinit b/rc.sysinit
index 9f9eb0c..27e603b 100755
--- a/rc.sysinit
+++ b/rc.sysinit
@@ -90,6 +90,7 @@ udevd_modprobe sysinit
[[ $USEBTRFS = [Yy][Ee][Ss] && -x $(type -P btrfs) ]] &&
status "Activating BTRFS volumes" btrfs device scan
+# Activate LVM2 groups if any
activate_vgs
# Set up non-root encrypted partition mappings
@@ -186,7 +187,9 @@ if [[ -f /etc/crypttab && $CS ]] && grep -q ^[^#] /etc/crypttab; then
fi
if [[ -x $(type -P fsck) ]]; then
+ # Check filesystems
fsck_all
+ # Single-user login and/or automatic reboot if needed
fsck_reboot $?
fi