about summary refs log tree commit diff
path: root/core-services/03-filesystems.sh
diff options
context:
space:
mode:
authorJuan RP <xtraeme@voidlinux.eu>2015-06-02 08:42:40 +0200
committerJuan RP <xtraeme@voidlinux.eu>2015-06-02 08:42:40 +0200
commit341f0470cfcae91e180e0c7ddf0101ca2c92253c (patch)
tree83c4ad79b879336f53a354244d905d8f0452f7bc /core-services/03-filesystems.sh
parent4bb1c55f3390bbcb0e11b4ab44299ae06d89b888 (diff)
downloadrunit-void-341f0470cfcae91e180e0c7ddf0101ca2c92253c.tar.gz
runit-void-341f0470cfcae91e180e0c7ddf0101ca2c92253c.tar.xz
runit-void-341f0470cfcae91e180e0c7ddf0101ca2c92253c.zip
Update paths for the usr/sbin -> usr/bin move.
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