On Tue, Apr 14, 2009 at 10:28:42AM +1000, David Klaverstyn wrote:
> Hi All,
> 
> I'm in the process of writing an install script and I would like to change 
> some settings for the install process but I don't want the user to go into 
> menuselect and make the changes manually.
> 
> Is there a way to make the changes to menuselect from the CLI?
> 
> As an example, selecting the iLBC codec.
> menuselect codec ilbc on

On the Debian package I generally patch source files and XML SPECs to
set / reset the "defaltenable" options. 

The problem with patching the output of menuselect is that menuselect is
run on each tim you un 'make'. This is why I never bothered adding such
an option to dummy-select. 

OTOH, in dummy-select the configuration is straight-forward:

  echo enable codec_ilbc >build_tools/conf

Menuselect uses the same file as both an input and an output, and this
makes it very confusing and error-prone.

-- 
               Tzafrir Cohen
icq#16849755              jabber:[email protected]
+972-50-7952406           mailto:[email protected]
http://www.xorcom.com  iax:[email protected]/tzafrir

_______________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Reply via email to