diff options
author | Judd Vinet <judd@archlinux.org> | 2005-11-10 21:56:55 +0000 |
---|---|---|
committer | Judd Vinet <judd@archlinux.org> | 2005-11-10 21:56:55 +0000 |
commit | 78ce45a497753e2be061e29a6464fcd969041895 (patch) | |
tree | 84280cb346cc5b38131df8918552c2d6c1f8e4aa /rc.sysinit | |
parent | 0daa0d11302e16ba26d7518c1edf0e4887aade9c (diff) | |
download | initscripts-78ce45a497753e2be061e29a6464fcd969041895.tar.xz |
added nocifs to pre-network mounts, fixed mdadm.conf missing errors
Diffstat (limited to 'rc.sysinit')
-rwxr-xr-x | rc.sysinit | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -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 |