Tim Lee wrote:
> 
> Hi,
> 
> Does anyone know how to make settings with the utility
> hdparm become permanent?  I can set them in one of the
> init scripts but I would like my settings enabled as
> soon as possible in the boot process since they might
> affect boot performance.
> 

put a hdparm command in /etc/rc.sysinit * right after:

# Rerun ourselves through initlog
if [ -z "$IN_INITLOG" ]; then
 [ -f /sbin/initlog ] && exec /sbin/initlog $INITLOG_ARGS -r
/etc/rc.sysinit
fi

rc.sysinit is the very first file run at boot AFAIK.

Enjoy,
 
     Woody ([EMAIL PROTECTED])

* may be /etc/rc.d/rc.sysinit if you have a >= 7.1 MDK install.

---------------------------------------------------------------
Gatewood Green         Web Developer
http://www.linux.org/  The first stop for Linux info on the Net
Email:                 [EMAIL PROTECTED]
---------------------------------------------------------------
All opinions expressed by me are my own and not necessarily
endorsed by Linux Online, Inc. or Linux Headquarters, Inc.

Reply via email to