diff options
Diffstat (limited to 'sys-apps/hdparm/files/hdparm-init')
-rw-r--r-- | sys-apps/hdparm/files/hdparm-init | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/sys-apps/hdparm/files/hdparm-init b/sys-apps/hdparm/files/hdparm-init new file mode 100644 index 000000000000..a6e978fa3cd8 --- /dev/null +++ b/sys-apps/hdparm/files/hdparm-init @@ -0,0 +1,15 @@ +#!/sbin/runscript +# Copyright 1999-2002 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License, v2 or later +# $Header: /var/cvsroot/gentoo-x86/sys-apps/hdparm/files/hdparm-init,v 1.1 2002/08/15 20:13:52 azarah Exp $ + +depend() { + need localmount +} + +start() { + ebegin "Enabling DMA on IDE drives" + /sbin/hdparm -d1 /dev/ide/hd/*u? &> /dev/null + eend +} + |