From 78ce45a497753e2be061e29a6464fcd969041895 Mon Sep 17 00:00:00 2001 From: Judd Vinet Date: Thu, 10 Nov 2005 21:56:55 +0000 Subject: added nocifs to pre-network mounts, fixed mdadm.conf missing errors --- rc.sysinit | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'rc.sysinit') diff --git a/rc.sysinit b/rc.sysinit index dc0a13d..2743f03 100755 --- a/rc.sysinit +++ b/rc.sysinit @@ -41,7 +41,7 @@ if [ -e /initrd/dev/mapper/root ]; then fi # If necessary, find md devices and manually assemble RAID arrays -if [ -f /etc/mdadm.conf -a "`grep ^ARRAY /etc/mdadm.conf`" ]; then +if [ -f /etc/mdadm.conf -a "`grep ^ARRAY /etc/mdadm.conf 2>/dev/null`" ]; then if [ -d /initrd/dev ]; then # udev won't create these md nodes, so we steal them from the initrd for i in `grep ^ARRAY /etc/mdadm.conf | awk '{print $2}'`; do @@ -118,9 +118,11 @@ stat_busy "Mounting Local Filesystems" umount /proc && mount -t proc none /proc [ "`grep sysfs /proc/filesystems`" ] && umount /sys && mount -t sysfs none /sys # now mount all the local filesystems -/bin/mount -a -t nonfs,nosmbfs,noncpfs,nosysfs,nousbfs +/bin/mount -a -t nonfs,nosmbfs,nocifs,noncpfs,nosysfs,nousbfs stat_done +status "Detecting Required Modules" /sbin/hwdetect -load-modules + stat_busy "Configuring System Clock" if [ "$HARDWARECLOCK" = "UTC" ]; then /sbin/hwclock --utc --hctosys -- cgit v1.2.3