Bug#525687: ferm: please add a hook which gets executed while configuration is read

2010-04-13 Thread Marc Haber
On Thu, Feb 18, 2010 at 10:04:50PM +0100, Max Kellermann wrote: > On 2009/05/01 00:38, Marc Haber wrote: > > I do not understand. The hook would be executed while the shell script > > ie generated. > > No. Hooks are executed when the rules are installed, not necessarily > when ferm runs. With -

Bug#525687: ferm: please add a hook which gets executed while configuration is read

2010-02-18 Thread Marc Haber
Hi, On Thu, Feb 18, 2010 at 10:04:50PM +0100, Max Kellermann wrote: > On 2009/05/01 00:38, Marc Haber wrote: > > I do not understand. The hook would be executed while the shell script > > ie generated. > > No. Hooks are executed when the rules are installed, not necessarily > when ferm runs. W

Bug#525687: ferm: please add a hook which gets executed while configuration is read

2010-02-18 Thread Max Kellermann
On 2009/05/01 00:38, Marc Haber wrote: > I do not understand. The hook would be executed while the shell script > ie generated. No. Hooks are executed when the rules are installed, not necessarily when ferm runs. With --shell, ferm just prints the hook commands, to be executed later by the gene

Bug#525687: ferm: please add a hook which gets executed while configuration is read

2009-04-30 Thread Marc Haber
On Thu, Apr 30, 2009 at 04:55:21PM +0200, Max Kellermann wrote: > On 2009/04/26 17:42, Marc Haber wrote: > > To _generate_ rules from outside ferm, it would be good to have a hook > > which is executed immediately when the line is read to allow things > > like: > > > > @hook now "ferm-hook-create

Bug#525687: ferm: please add a hook which gets executed while configuration is read

2009-04-30 Thread Max Kellermann
On 2009/04/26 17:42, Marc Haber wrote: > To _generate_ rules from outside ferm, it would be good to have a hook > which is executed immediately when the line is read to allow things > like: > > @hook now "ferm-hook-create-rules"; > @include "rules-created-by-ferm-hook"; The problem is that this

Bug#525687: ferm: please add a hook which gets executed while configuration is read

2009-04-26 Thread Marc Haber
Package: ferm Version: 2.0.5-1 Severity: wishlist Hi, To _generate_ rules from outside ferm, it would be good to have a hook which is executed immediately when the line is read to allow things like: @hook now "ferm-hook-create-rules"; @include "rules-created-by-ferm-hook"; I currently do this b