From c4df81c233b43639e831b0dadf19639788f24c75 Mon Sep 17 00:00:00 2001 From: Jonas Smedegaard Date: Wed, 22 Jan 2003 14:54:49 +0000 Subject: Add new sample script hdparm.sh (works on TiBook, may require tweeking for others). --- rc.boot/hdparm.sh | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100755 rc.boot/hdparm.sh 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 -- cgit v1.2.3