Stephan Raue <[email protected]> writes:

> Hi,

Hi Stephan,

> i use connman and on top of this cmcc from indicator-network package
> to setup connman.

Ok, so these are ubuntu packages.

> connman will be started from init script

I assume you are using recent connman ubuntu packages which use upstart
(ie. you have a file /etc/init/connman.conf).

> and will be setup with the same init script via cmcc.

Sorry, I don't understand this sentence. Can you elaborate, please?

And why do you want to run cmcc on boot? That doesn't sound right to me.

> after connman is started cmcc fails because connman is not up. is it
> possible in any way (in an shell init script) to check if connman is
> ready with starting to setup connman? i dont want use sleep or
> anything

In principle upstart supports this with the "start on" stanza:

http://upstart.ubuntu.com/wiki/Stanzas

But first I would like to go backwards a bit and understand the real
problem you are trying to solve. Most probably there is a better way
than running than cmcc after connmand has started.

-- 
Kalle Valo
_______________________________________________
connman mailing list
[email protected]
http://lists.connman.net/listinfo/connman

Reply via email to