beroNet / Open-PBX

embedded PBX based on Asterisk, which runs on a beroNet Gateway
MIT License
5 stars 3 forks source link

'baf make' -> 'Configuration file '.baf.conf' not found, leaving.' #6

Closed sebastianertz closed 11 years ago

sebastianertz commented 11 years ago

first suggestion:

A file with name 'create_default_baf_conf.sh' to generate a '.baf.conf'. Users can changes in file, because '.baf.conf' is in '.gitignore'

#!/bin/sh
baf_conf_file=".baf.conf"

echo "toolchain=/usr/local/share/baf" > ${baf_conf_file}
echo "editor=/usr/bin/vim" >> ${baf_conf_file}
echo "repository=http://developer.beronet.com/baf-modules/modlist.txt" >> ${baf_conf_file}

second suggestion:

A parameter in baf-framework. Example 'baf create-conf'

ghost commented 11 years ago

Has been fixed in current baf-framework: baf init-conf in the root-directory of the baf-app recreates the .baf.conf.

If everyone could test it, we can close this issue.

crich commented 11 years ago

works for me.

sebastianertz commented 11 years ago

works for me, too