Hi Jozsef,
On Sat, Mar 27, 2010 at 12:07 PM, Jozsef Vadkan jozsi.avadkan@gmail.com wrote:
Why doesn't my "internet-connection" script work?
I suggest you double-check the Advanced Bash Scripting Guide. You posted this to a couple of sites.
In your if statements, you must do if `statement`; then foo; fi Don't forget to put ` around the statement you have there (ping something | grep something).