Beta

×

Welcome to the Slashdot Beta site -- learn more here. Use the link in the footer or click here to return to the Classic version of Slashdot.

Thank you!

Before you choose to head back to the Classic look of the site, we'd appreciate it if you share your thoughts on the Beta; your feedback is what drives our ongoing development.

Beta is different and we value you taking the time to try it out. Please take a look at the changes we've made in Beta and  learn more about it. Thanks for reading, 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 10 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?
or Connect with...

Don't worry, we never post anything without your permission.

Submission Text Formatting Tips

We support a small subset of HTML, namely these tags:

  • b
  • i
  • p
  • br
  • a
  • ol
  • ul
  • li
  • dl
  • dt
  • dd
  • em
  • strong
  • tt
  • blockquote
  • div
  • quote
  • ecode

"ecode" can be used for code snippets, for example:

<ecode>    while(1) { do_something(); } </ecode>