[Dextrose] ip route in rc.sysinit

Esteban Bordon ebordon at plan.ceibal.edu.uy
Mon Aug 9 15:57:55 EDT 2010


 If I call the script in rc.local (after NetworkManager starts), could I
force to activate NetworkManager?

Esteban Bordón
Investigación y Desarrollo - Plan Ceibal
CITS - Av. Italia 6201 - Montevideo, Uruguay


2010/8/9 Bernie Innocenti <bernie at codewiz.org>

> El Mon, 09-08-2010 a las 16:33 -0300, Esteban Bordon escribió:
> > Hi all,
> >
> > I have a script that execute ip route to get the default gateway. If I
> > run the script when sugar has started works fine, but, I need to run
> > it during boot. I added a line in rc.sysinit calling it, but ip route
> > doesn't prints any data. I tried to add the line in /etc/rc (like I
> > used to in F9-0.82) and it neither prints the route.
> >
> > Any idea?
>
> NetworkManager starts after rc.sysinit and remains quiescent until Sugar
> tells it to connect. So I'm not surprised you don't get any route during
> boot. I wonder how it could possibly have worked in F9-0.82...
>
> --
>   // Bernie Innocenti - http://codewiz.org/
>  \X/  Sugar Labs       - http://sugarlabs.org/
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.sugarlabs.org/archive/dextrose/attachments/20100809/87566d89/attachment.htm 


More information about the Dextrose mailing list