diff options
Diffstat (limited to 'rc.d/rc.sysinit')
-rwxr-xr-x | rc.d/rc.sysinit | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/rc.d/rc.sysinit b/rc.d/rc.sysinit index 34ffb3c4..f449b639 100755 --- a/rc.d/rc.sysinit +++ b/rc.d/rc.sysinit @@ -673,7 +673,7 @@ if grep -q "ide-scsi" /proc/cmdline ; then fi # Turn off DMA on CD-ROMs. It more often than not causes problems. -if [ -e /proc/ide ]; then +if [ -x /sbin/hdparm -a -e /proc/ide ]; then for N in `grep -v ide-disk /proc/ide/*/*/driver 2>/dev/null | awk -F / '{ print $5 }'`; do hdparm -q -d0 /dev/$N >/dev/null 2>&1 done |