Re: How to get sugar config values without a console?

2009-05-28 Thread Martin Langhoff
On Thu, May 28, 2009 at 4:48 PM, wrote: > if you're root, use the force: you are truly evil :-) m -- martin.langh...@gmail.com mar...@laptop.org -- School Server Architect - ask interesting questions - don't get distracted with shiny stuff - working code first - http://wiki.laptop.org/

Re: How to get sugar config values without a console?

2009-05-28 Thread pgf
martin wrote: > I'm working on olpc-update-query, a script that runs without a tty > (from NM hooks and cron) and needs to query Sugar configuration stuff. > To make things more complicated, it runs as root :-/ > > It's a good thing that we have sugar-control-panel, but at least on > 0.82 it

How to get sugar config values without a console?

2009-05-28 Thread Martin Langhoff
I'm working on olpc-update-query, a script that runs without a tty (from NM hooks and cron) and needs to query Sugar configuration stuff. To make things more complicated, it runs as root :-/ It's a good thing that we have sugar-control-panel, but at least on 0.82 it doesn't work unless you're in T