aboutsummaryrefslogtreecommitdiffstats
path: root/rc.d
diff options
context:
space:
mode:
authorNalin Dahyabhai <nalin@redhat.com>2001-03-13 17:17:52 +0000
committerNalin Dahyabhai <nalin@redhat.com>2001-03-13 17:17:52 +0000
commit6e782ec5f090087a42eb6716bc28f8afe0a342c5 (patch)
tree5172e4284e9e115bd6b52462f844b0dfedce34ca /rc.d
parent385c427f063ecfdbc769936e85d966420a5182d7 (diff)
downloadinitscripts-6e782ec5f090087a42eb6716bc28f8afe0a342c5.tar
initscripts-6e782ec5f090087a42eb6716bc28f8afe0a342c5.tar.gz
initscripts-6e782ec5f090087a42eb6716bc28f8afe0a342c5.tar.bz2
initscripts-6e782ec5f090087a42eb6716bc28f8afe0a342c5.tar.xz
initscripts-6e782ec5f090087a42eb6716bc28f8afe0a342c5.zip
- fix typo in rc.sysinit
- fix ifup-routes not setting DEVICE properly
Diffstat (limited to 'rc.d')
-rwxr-xr-xrc.d/rc.sysinit8
1 files changed, 5 insertions, 3 deletions
diff --git a/rc.d/rc.sysinit b/rc.d/rc.sysinit
index ca3a40eb..f40d472d 100755
--- a/rc.d/rc.sysinit
+++ b/rc.d/rc.sysinit
@@ -395,8 +395,10 @@ if grep -q "options sound dmabuf=1" /etc/modules.conf 2>/dev/null ; then
RETURN=$?
fi
# Load mixer settings
- if grep -q "\(sparcaudio\|sound\)" /proc/devices 2>/dev/null && [ $RETURN -eq 0 -a -f /etc/.aumixrc -a -x /bin/aumix-minimal ]; then
- action $"Loading mixer settings: " /bin/aumix-minimal -f /etc/.aumixrc -L
+ if grep -q "\(sparcaudio\|sound\)" /proc/devices 2>/dev/null ; then
+ if [ $RETURN -eq 0 -a -f /etc/.aumixrc -a -x /bin/aumix-minimal ]; then
+ action $"Loading mixer settings: " /bin/aumix-minimal -f /etc/.aumixrc -L
+ fi
fi
fi
@@ -421,7 +423,7 @@ if [ ! -f /proc/mdstat ]; then
modprobe md >/dev/null 2>&1
fi
-if [ -f /proc/mdstat -f /etc/raidtab ]; then
+if [ -f /proc/mdstat -a -f /etc/raidtab ]; then
echo -n $"Starting up RAID devices: "
rc=0