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

Re: Bug in apmd debian scripts

Oliver Kurth wrote:
> On Thu, 2004-03-25 at 15:16, Chris Hanson wrote:
> > Thomas Hood has been working on an alternative system, in which the
> > event sequencing is controlled by statements inside the scripts.
> > This promises to simplify things in the long run.
> Why?

The alternative system to which Chris referred uses priority
declarations instead of sequence numbers to determine execution
order.  The declarations can either be in the scripts themselves
or in external files or both.  Scripts that are not prioritized
relative to one another are run simultaneously.

It is possible to design the system so that the priorities depend
on how the script is executed -- i.e., with which arguments.
E.g., it is possible to make A follow B on suspend but precede it
on resume.  Such a system eliminates the need for the symlink
farms that one finds in the current apmd package.
Thomas Hood <jdthood@yahoo.co.uk>

Reply to: