[CentOS] whats wrong with my internet connection checker script?

Sun Dec 26 23:09:30 UTC 2010
S Mathias <smathias1972 at yahoo.com>

perfect! thank you Oliver Grawert! :) made my day :) it's working! :


ping -W 1 -c 4 google.com >& /dev/null && ping -W 1 -c 4 www.yahoo.com >& /dev/null || echo "no internet connection"