#/bin/sh
if [ -f /sbin/hdparm ]; then
	hdparm -d1 -u1 -m16 /dev/hda
else
	echo "Disk controller not optimized - please install hdparm..."
fi