diff options
author | Martin Schlemmer <azarah@gentoo.org> | 2002-08-15 20:13:52 +0000 |
---|---|---|
committer | Martin Schlemmer <azarah@gentoo.org> | 2002-08-15 20:13:52 +0000 |
commit | 6a5164eec57d620c72c265b456bf6fed4de2fa7e (patch) | |
tree | 42e80ebe0ed54c277f8772e1f7bcff457b08e181 /sys-apps/hdparm/files | |
parent | Added support for LOOKUP_DSEARCH which gives some advantage to those (diff) | |
download | gentoo-2-6a5164eec57d620c72c265b456bf6fed4de2fa7e.tar.gz gentoo-2-6a5164eec57d620c72c265b456bf6fed4de2fa7e.tar.bz2 gentoo-2-6a5164eec57d620c72c265b456bf6fed4de2fa7e.zip |
add rc-script
Diffstat (limited to 'sys-apps/hdparm/files')
-rw-r--r-- | sys-apps/hdparm/files/digest-hdparm-5.2-r2 | 1 | ||||
-rw-r--r-- | sys-apps/hdparm/files/hdparm-init | 15 |
2 files changed, 16 insertions, 0 deletions
diff --git a/sys-apps/hdparm/files/digest-hdparm-5.2-r2 b/sys-apps/hdparm/files/digest-hdparm-5.2-r2 new file mode 100644 index 000000000000..2ad6a398657a --- /dev/null +++ b/sys-apps/hdparm/files/digest-hdparm-5.2-r2 @@ -0,0 +1 @@ +MD5 b98b78cc00c6058635ee655dbf06a784 hdparm-5.2.tar.gz 35586 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 +} + |