I've added simple command-line options handling to OpenBTS through gengetopt.
PoC available via
git clone -b getopt git://github.com/zabbal/openbts-p2.8.git
To make it really useful we have to restructure initialization a bit but in return we
will get huge increase in flexibility and familiar (de-facto standard) command-line
interface. It will also help us to get rid of all the hard-coded paths in the source
N. B. Additional work required to safely get rid of hard-coded
/etc/OpenBTS/OpenBTS.db file path.
Please try, comment and improve.