[CentOS] "internet connection tester script"

Hakan Koseoglu hakan at koseoglu.org
Sat Mar 27 12:24:36 UTC 2010


Hi Jozsef,

On Sat, Mar 27, 2010 at 12:07 PM, Jozsef Vadkan <jozsi.avadkan at 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).

-- 
Hakan (m1fcj) - http://www.hititgunesi.org



More information about the CentOS mailing list