aboutsummaryrefslogtreecommitdiff
path: root/rc.sysinit
diff options
context:
space:
mode:
authorJudd Vinet <judd@archlinux.org>2005-11-10 21:56:55 +0000
committerJudd Vinet <judd@archlinux.org>2005-11-10 21:56:55 +0000
commit78ce45a497753e2be061e29a6464fcd969041895 (patch)
tree84280cb346cc5b38131df8918552c2d6c1f8e4aa /rc.sysinit
parent0daa0d11302e16ba26d7518c1edf0e4887aade9c (diff)
downloadinitscripts-78ce45a497753e2be061e29a6464fcd969041895.tar.xz
added nocifs to pre-network mounts, fixed mdadm.conf missing errors
Diffstat (limited to 'rc.sysinit')
-rwxr-xr-xrc.sysinit6
1 files changed, 4 insertions, 2 deletions
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