summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'sys-apps/hdparm/files/hdparm-init')
-rw-r--r--sys-apps/hdparm/files/hdparm-init9
1 files changed, 4 insertions, 5 deletions
diff --git a/sys-apps/hdparm/files/hdparm-init b/sys-apps/hdparm/files/hdparm-init
index e249682c74df..f8761751de4f 100644
--- a/sys-apps/hdparm/files/hdparm-init
+++ b/sys-apps/hdparm/files/hdparm-init
@@ -1,7 +1,7 @@
#!/sbin/runscript
-# Copyright 1999-2003 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.2 2003/02/14 23:25:49 vapier Exp $
+# 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
@@ -10,6 +10,5 @@ depend() {
start() {
ebegin "Enabling DMA on IDE drives"
/sbin/hdparm -d1 /dev/ide/hd/*u? &> /dev/null
- eend
+ eend $?
}
-