summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xrc.boot/hdparm.sh6
1 files changed, 6 insertions, 0 deletions
diff --git a/rc.boot/hdparm.sh b/rc.boot/hdparm.sh
new file mode 100755
index 0000000..07141bd
--- /dev/null
+++ b/rc.boot/hdparm.sh
@@ -0,0 +1,6 @@
+#/bin/sh
+if [ -f /sbin/hdparm ]; then
+ hdparm -d1 -u1 -m16 /dev/hda
+else
+ echo "Disk controller not optimized - please install hdparm..."
+fi