Thomas Lange wrote:
> Action names can be nearly any name. If this action is not one of the
> default actions, FAI tries to find a hook with the name of the action.
> Have a look at subroutines:

Hmm, somehow I don't like the idea mixing up hooks and user defined
actions. Whare is this actually used?
When calling fai on the command line?

In my understanding, the definition of a hook is something that is run
_before_ an action with the same name, depending on a class that matches
the <CLASSNAME> part in  <TASKNAME>.<CLASSNAME>.

Adding something like, "and it's what is executed when you run fai
<TASKNAME> in case no internal task exists with that name" sounds a bit
too much.
Shouldn't we have then better an own directory actions instead?
(just a thought, maybe I oversee something).


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to