Installation Script with automatic Modules Upgrade & Modules installation

Hi,

I have build a script to install Asterisk + FreePBX on Debian Etch, and i would like to upgrade module at the end of installation, and install some modules ( for example Language module).

Have you an idea to make this from CLI, in a bash script ?

Thk for your help

/var/lib/asterisk/bin/module_admin --help (or what ever path you used for yor ‘bin’ directory)