summaryrefslogtreecommitdiff
blob: f8761751de4f9b6cf014b1b6a895cbb74ae3b2b8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#!/sbin/runscript
# Copyright 1999-2004 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/sys-apps/hdparm/files/hdparm-init,v 1.3 2004/03/06 04:09:07 vapier Exp $

depend() {
	need localmount
}

start() {
	ebegin "Enabling DMA on IDE drives"
	/sbin/hdparm -d1 /dev/ide/hd/*u? &> /dev/null
	eend $?
}