#!/bin/sh
if test $(id -u) != 0; then
 echo Error: You must be root to run this script!
 exit 1
fi
if ! test -e /etc/init.d/bootmisc.sh.1st; then
 cp /etc/init.d/bootmisc.sh /etc/init.d/bootmisc.sh.1st
fi 
perl -pi -e 's|[\s]*[#]*[\s]*/sbin/hdparm| /sbin/hdparm|' /etc/init.d/bootmisc.sh
