From 341f0470cfcae91e180e0c7ddf0101ca2c92253c Mon Sep 17 00:00:00 2001 From: Juan RP Date: Tue, 2 Jun 2015 08:42:40 +0200 Subject: Update paths for the usr/sbin -> usr/bin move. --- core-services/03-filesystems.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'core-services/03-filesystems.sh') 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 -- cgit 1.4.1