[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: hdparm



On Wed, 25 Sep 2002, Thomas Poindessous wrote:
> * Henrique de Moraes Holschuh <hmh@debian.org> [2002-09-25 09:40]:
> > On Tue, 24 Sep 2002, Osamu Aoki wrote:
> > > For script executed from /etc/rc.S/ we should not need
> > > start/stop/restart options.  Problem was lintian complained it and I
> > 
> > Don't go around giving people such ideas.  Just make the script do nothing
> > on stop, and run hdparm on start/restart/force-reload.
> > 
> > If it goes in /etc/init.d/ it should be a proper init script. Please. It
> > doesn't matter if it will be called in runlevel S, or whenever.
> 
> /etc/init.d/discover doesn't have start,stop,restart options. When you run
> it with stop option, it does the same as with start option.

There are buggy scripts in /etc/init.d right now, I think.  It is also
possible (but kinda improbable) that the above IS the correct behaviour for
the discover service (do the same thing on stop, start, restart,
force-reload...).

-- 
  "One disk to rule them all, One disk to find them. One disk to bring
  them all and in the darkness grind them. In the Land of Redmond
  where the shadows lie." -- The Silicon Valley Tarot
  Henrique Holschuh



Reply to: