aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xrc.sysinit2
1 files changed, 1 insertions, 1 deletions
diff --git a/rc.sysinit b/rc.sysinit
index 6a407d5..164711d 100755
--- a/rc.sysinit
+++ b/rc.sysinit
@@ -66,7 +66,7 @@ if [ -f /etc/mdadm.conf -a "`grep ^ARRAY /etc/mdadm.conf 2>/dev/null`" ]; then
path=`echo $dev | sed 's|/[^/]*$||'`
node=`echo $dev | sed "s|^$path/||"`
minor=`echo $node | sed 's|^[^0-9]*||'`
- [ ! -f $path/$node ] && /bin/mknod $path/$node b 9 $minor
+ [ ! -e $path/$node ] && /bin/mknod $path/$node b 9 $minor
done
status "Activating RAID arrays" /sbin/mdadm --assemble --scan
fi