summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Schlemmer <azarah@gentoo.org>2002-08-15 20:13:52 +0000
committerMartin Schlemmer <azarah@gentoo.org>2002-08-15 20:13:52 +0000
commit6a5164eec57d620c72c265b456bf6fed4de2fa7e (patch)
tree42e80ebe0ed54c277f8772e1f7bcff457b08e181 /sys-apps/hdparm/files
parentAdded support for LOOKUP_DSEARCH which gives some advantage to those (diff)
downloadgentoo-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-r21
-rw-r--r--sys-apps/hdparm/files/hdparm-init15
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
+}
+