[Bro-Dev] Command line VS. environmnet variable (was: Re: [Bro-Commits] [git/bro] master: Hopefully the last major script reorganization. (597a4d6))

Seth Hall seth at icir.org
Mon Aug 8 07:28:00 PDT 2011


On Aug 7, 2011, at 12:58 AM, Gregor Maier wrote:

> 
>>     - All of scripts/base/ is loaded by main.cc
>>     	- Can be disabled by setting $BRO_NO_BASE_SCRIPTS
>>     	- Scripts in scripts/base/ don't use relative path loading to ease use of BRO_NO_BASE_SCRIPTS (to copy and paste that script).
> 
> I really, really, *really* think this should be a command line option! After all, that's what command line options are there for: to enable/disable/modify features of the executed process.
> Environment variables are a pain when used to set options. They are nice/good to set paths, etc.

Good to hear that you think so too. :)  That's the plan but while I was doing the script-level development I just made it an environment variable.  I did forget to mention that in the message.

  .Seth

--
Seth Hall
International Computer Science Institute
(Bro) because everyone has a network
http://www.bro-ids.org/




More information about the bro-dev mailing list