summary refs log tree commit diff
path: root/core-services/03-filesystems.sh
diff options
context:
space:
mode:
Diffstat (limited to 'core-services/03-filesystems.sh')
-rw-r--r--core-services/03-filesystems.sh6
1 files changed, 3 insertions, 3 deletions
diff --git a/core-services/03-filesystems.sh b/core-services/03-filesystems.sh
index 01c4fe4..c07dfd1 100644
--- a/core-services/03-filesystems.sh
+++ b/core-services/03-filesystems.sh
@@ -5,7 +5,7 @@
 msg "Remounting rootfs read-only..."
 mount -o remount,ro / || emergency_shell
 
-if [ -x /sbin/dmraid ]; then
+if [ -x /sbin/dmraid -o -x /bin/dmraid ]; then
     msg "Activating dmraid devices..."
     dmraid -i -ay
 fi
@@ -15,7 +15,7 @@ if [ -x /bin/btrfs ]; then
     btrfs device scan || emergency_shell
 fi
 
-if [ -x /sbin/vgchange ]; then
+if [ -x /sbin/vgchange -o -x /bin/vgchange ]; then
     msg "Activating LVM devices..."
     vgchange --sysinit -a y || emergency_shell
 fi
@@ -24,7 +24,7 @@ if [ -e /etc/crypttab ]; then
     msg "Activating encrypted devices..."
     awk -f /etc/runit/crypt.awk /etc/crypttab
 
-    if [ -x /sbin/vgchange ]; then
+    if [ -x /sbin/vgchange -o -x /bin/vgchange ]; then
         msg "Activating LVM devices for dm-crypt..."
         vgchange --sysinit -a y || emergency_shell
     fi