summaryrefslogtreecommitdiffstats
path: root/testing/hdparm/hdparm.confd
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2010-02-24 09:49:06 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2010-02-24 09:49:06 +0000
commit312d842a9b7a744412b130444687c9de69fe8136 (patch)
tree34b282f38dc7f026b982ada9b5388ca643d973f4 /testing/hdparm/hdparm.confd
parent7ac7f410ad3def56b89fbe59bbcd32ed3b1e199b (diff)
downloadaports-312d842a9b7a744412b130444687c9de69fe8136.tar.bz2
aports-312d842a9b7a744412b130444687c9de69fe8136.tar.xz
testing/hdparm: added init.d script
Diffstat (limited to 'testing/hdparm/hdparm.confd')
-rw-r--r--testing/hdparm/hdparm.confd26
1 files changed, 26 insertions, 0 deletions
diff --git a/testing/hdparm/hdparm.confd b/testing/hdparm/hdparm.confd
new file mode 100644
index 000000000..a1ae626b3
--- /dev/null
+++ b/testing/hdparm/hdparm.confd
@@ -0,0 +1,26 @@
+# /etc/conf.d/hdparm: config file for /etc/init.d/hdparm
+
+#
+# Note that options such as -y which force *immediate* power saving options
+# should generally not be placed here. The hdparm init.d script may run at
+# anytime with respect to other init.d scripts that do system wide drive
+# scans (like the hald script), so they will merely get spun right back up.
+# If you wish to use these options, please use the local.start init.d script
+# instead so that you're guaranteed that it will run last.
+#
+
+# You can either set hdparm arguments for each drive using hdX_args,
+# discX_args, cdromX_args and genericX_args, e.g.
+#
+# hda_args="-d1 -X66"
+# disc1_args="-d1"
+# cdrom0_args="-d1"
+
+# or you can set options for all PATA drives
+pata_all_args="-d1"
+
+# or you can set options for all SATA drives
+sata_all_args=""
+
+# or, you can set hdparm options for all drives
+all_args=""