diff options
author | Bill Nottingham <notting@redhat.com> | 2001-04-19 16:07:24 +0000 |
---|---|---|
committer | Bill Nottingham <notting@redhat.com> | 2001-04-19 16:07:24 +0000 |
commit | c3b2a30e4b342f113ede99598688a9aaf28808d1 (patch) | |
tree | 75c59fcfbd1bc63b76614f98cf4c23c8f2d96875 | |
parent | 878f8d4b3113077fc7314d2a5695e616226b908b (diff) | |
download | initscripts-c3b2a30e4b342f113ede99598688a9aaf28808d1.tar initscripts-c3b2a30e4b342f113ede99598688a9aaf28808d1.tar.gz initscripts-c3b2a30e4b342f113ede99598688a9aaf28808d1.tar.bz2 initscripts-c3b2a30e4b342f113ede99598688a9aaf28808d1.tar.xz initscripts-c3b2a30e4b342f113ede99598688a9aaf28808d1.zip |
disable DMA, 32-bit IO if asked to
-rwxr-xr-x | rc.d/rc.sysinit | 4 |
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 |