Jozsef Vadkan wrote:
Why doesn't my "internet-connection" script work?

When I plug the ethcable out, it just waits...and waits...and waits...

The script: http://pastebin.com/AE9U1qdL

As someone has noted, you're waiting on ping to timeout a bunch
of times.  And really, I'm not sure why this script is needed.
In ~/.cshrc:

alias up        ping -t3 yahoo.com

 ... or something (your .bashrc equivalent, or .shrc, etc.)
should do the trick, with much less effort on all fronts.

HTH,

Kevin Kinsey
_______________________________________________
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"

Reply via email to