[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [hobbit] BB environment variables



In <48EA3536.9090302 (at) shadowsoft.com> jon (at) shadowsoft.com (Jon Boede) writes:

>What's a good way to get all the BB environment variables set up when I 
>want to use them in a script that's not launched from hobbitd?

Put "bbcmd" in front of your command. I.e. run

   bbcmd /home/jon/myscript.sh

Forget everything about using "bbdef.sh" (that's for Big Brother), or
source'ing hobbitserver.cfg directly - bbcmd is *the* way to have the
Hobbit environment available.


Henrik