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

Re: debconf with locally derived options



On Sat, 2010-11-20 at 17:30 +0000, Jonathan Wiltshire wrote:
> On Sat, Nov 20, 2010 at 08:36:35PM +1300, Richard Hector wrote:
> > One example would be configuring a daemon, and asking which of the
> > configured IP addresses of the machine it should listen on. Obviously
> > the packager has no idea what IP addresses are going to be on the target
> > machine, so can't list them in templates. I would therefore want to
> > generate the list on the fly, and present them as options to the user.
> 
> I recall that some packages do do this, and the first example that comes to
> mind is postfix. Take a look at the config, templates and postinst files in
> that package.

Thanks - there's a lot to go through there, but it's definitely pointing
me in the right direction :-)

Richard



Reply to: