[Dextrose] ip route in rc.sysinit

Bernie Innocenti bernie at codewiz.org
Mon Aug 9 15:39:19 EDT 2010


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/




More information about the Devel mailing list