Re: Where to put hdparm to be activated at boot time?
David Raeker-Jordan wrote:
> Andre Berger wrote:
> > * firstname.lastname@example.org <email@example.com>, 2001-04-12 11:49 +0200:
> > > Hello,
> > >
> > > What is the preferred file for hdparm to be activated at boot time?
> > >
> > > (/etc/init.d/bootmisc.sh ?)
> > Either there, or in the /etc/init.d/ script that comes with the hwtools
> > package.
> > Andre Berger [firstname.lastname@example.org]
> If you put the hdparm script in an existing /etc/init.d file, won't the
> script be lost if and when the existing file is upgraded? Isn't it better to
> create a new file for the script, something like /etc/init.d/local_hdparm?
> That way, no package will overwrite it.
No package will overwrite an existing /etc/init.d file. It's a
Debian "conffile" and will be preserved on upgrades. Try it and see.