Jeremy Huntwork wrote: > On Sep 1, 2011, at 6:48 PM, Nathan Coulson wrote: > >> [I dont like this suggestion] We could use /run to keep track of >> what interfaces are up/down, but that would add more logic then I >> think our scripts should have... [nor this one] An alternative is >> to add more code to ipv4-static to detect if that IP Address is on >> the interface before removing it... >> >> otherwise two choices >> >> as xinglp says, if we started it up on startup, we will try to >> stop it on shutdown. Otherwise we'll leave things be. or what we >> have now, stop all network devices, regardless if they've been >> brought up or not. > > It is possible that I missed the rationale, but can someone _please_ > explain (or point me to existing discussion) why extra effort was > taken to rewrite the bootscripts instead of switching to the LSB > bootscripts where DJ solved all these problems already, and where you > get a standardized framework for free?
What I did is basically the same as the LSB scripts, but updated for /run and to streamline the file locations. The only outstanding issues are network related in some relatively rare cases (e.g. multiple IPs attached to a single interface or not brought up at boot). -- Bruce -- http://linuxfromscratch.org/mailman/listinfo/lfs-dev FAQ: http://www.linuxfromscratch.org/faq/ Unsubscribe: See the above information page
