×

Announcing: Slashdot Deals - Explore geek apps, games, gadgets and more. (what is this?)

Thank you!

We are sorry to see you leave - Beta is different and we value the time you took to try it out. Before you decide to go, please take a look at some value-adds for Beta and learn more about it. Thank you for reading Slashdot, and for making the site better!

Comments

top

Replacing the Aging Init Procedure on Linux

Spiral Man Re:Because it can be done (628 comments)

umm, two things:

first, dhcp does not try "for minutes" to get a lease, it tries for about a minute, and you can change the timeout to whatever you want it to be.

second, you could get rid of the problem altogether by changing the line in your rc script that says:

dhcpcd
to
dhcpcd &

and then other stuff will continue to run while dhcpcd is trying to connect (which isnt necessarilly a good thing, but its the only way you could do it in python either. there are only two ways a program (and python and bash are both programs) can run another program. either exec it and wait for it to finish, or fork then exec it and keep on executing)

more than 11 years ago

Submissions

Spiral Man hasn't submitted any stories.

Journals

Spiral Man has no journal entries.

Slashdot Login

Need an Account?

Forgot your password?