aboutsummaryrefslogtreecommitdiffstats
path: root/rc.d
diff options
context:
space:
mode:
authorBill Nottingham <notting@redhat.com>2001-04-19 16:07:43 +0000
committerBill Nottingham <notting@redhat.com>2001-04-19 16:07:43 +0000
commited6983ceb642f9259c03d0d705d7971a0a51174c (patch)
tree75c59fcfbd1bc63b76614f98cf4c23c8f2d96875 /rc.d
parent878f8d4b3113077fc7314d2a5695e616226b908b (diff)
downloadinitscripts-ed6983ceb642f9259c03d0d705d7971a0a51174c.tar
initscripts-ed6983ceb642f9259c03d0d705d7971a0a51174c.tar.gz
initscripts-ed6983ceb642f9259c03d0d705d7971a0a51174c.tar.bz2
initscripts-ed6983ceb642f9259c03d0d705d7971a0a51174c.tar.xz
initscripts-ed6983ceb642f9259c03d0d705d7971a0a51174c.zip
disable DMA, 32-bit IO if asked to
Diffstat (limited to 'rc.d')
-rwxr-xr-xrc.d/rc.sysinit4
1 files changed, 2 insertions, 2 deletions
diff --git a/rc.d/rc.sysinit b/rc.d/rc.sysinit
index 6564fc7f..0261dd0d 100755
--- a/rc.d/rc.sysinit
+++ b/rc.d/rc.sysinit
@@ -304,10 +304,10 @@ if [ -x /sbin/hdparm ]; then
if [ -f /etc/sysconfig/harddisk${disk[$device]} ]; then
. /etc/sysconfig/harddisk${disk[$device]}
HDFLAGS[$device]=
- if [ -n "$MULTIPLE_IO" ] && [ "$MULTIPLE_IO" != "0" ]; then
+ if [ -n "$MULTIPLE_IO" ]; then
HDFLAGS[$device]="-q -m$MULTIPLE_IO"
fi
- if [ -n "$USE_DMA" ] && [ "$USE_DMA" != "0" ]; then
+ if [ -n "$USE_DMA" ]; then
HDFLAGS[$device]="${HDFLAGS[$device]} -q -d$USE_DMA"
fi
if [ -n "$EIDE_32BIT" ]; then