summaryrefslogtreecommitdiffstats
path: root/install/autodetect
diff options
context:
space:
mode:
authorThomas Bächler <thomas@archlinux.org>2007-10-31 09:41:10 +0100
committerThomas Bächler <thomas@archlinux.org>2007-10-31 09:41:10 +0100
commit3fce4e1e1c8aa3c3d53836f89cf5c6253796f5e6 (patch)
tree1fc1d34f0080b640241736b383f5ccae93fa2f0e /install/autodetect
parent8a47fa9512eb355e8f7cbe4b4e7d28373e706a6c (diff)
downloadmkinitcpio-3fce4e1e1c8aa3c3d53836f89cf5c6253796f5e6.tar.gz
mkinitcpio-3fce4e1e1c8aa3c3d53836f89cf5c6253796f5e6.tar.xz
Fix problems with /sbin and /usr/sbin not being in the path,
fixes Archlinux #8448
Diffstat (limited to 'install/autodetect')
-rw-r--r--install/autodetect2
1 files changed, 1 insertions, 1 deletions
diff --git a/install/autodetect b/install/autodetect
index eba31d3..2ae8db6 100644
--- a/install/autodetect
+++ b/install/autodetect
@@ -30,7 +30,7 @@ install ()
done
if [ -e /sbin/mdadm ]; then
- for raidmod in $(mdadm -E -s /dev/hd* /dev/sd* /dev/rd/* /dev/ida/* /dev/cciss/* /dev/ataraid/* \
+ for raidmod in $(/sbin/mdadm -E -s /dev/hd* /dev/sd* /dev/rd/* /dev/ida/* /dev/cciss/* /dev/ataraid/* \
| awk -Flevel= '{print $2}' | awk '{print $1}'); do
case "${raidmod}" in
raid4|raid5|raid6)