Hi Jozsef, On Sat, Mar 27, 2010 at 12:07 PM, Jozsef Vadkan <jozsi.avadkan@xxxxxxxxx> 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). -- Hakan (m1fcj) - http://www.hititgunesi.org _______________________________________________ CentOS mailing list CentOS@xxxxxxxxxx http://lists.centos.org/mailman/listinfo/centos