diff options
author | Jonas Smedegaard <dr@jones.dk> | 2003-01-22 14:54:49 +0000 |
---|---|---|
committer | Jonas Smedegaard <dr@jones.dk> | 2003-01-22 14:54:49 +0000 |
commit | c4df81c233b43639e831b0dadf19639788f24c75 (patch) | |
tree | 0484a74f83ca195dc681e249aa36cbd58b028b54 | |
parent | c50cca74bb13b0f78244be3a705cdcbe8a1d3dc1 (diff) |
Add new sample script hdparm.sh (works on TiBook, may require tweeking for others).
-rwxr-xr-x | rc.boot/hdparm.sh | 6 |
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 |