From 1e346a2cb316886baaa516ebda9142a9b556446b Mon Sep 17 00:00:00 2001 From: Bibiko Date: Fri, 21 Jan 2011 15:53:07 +0000 Subject: =?UTF-8?q?=E2=80=A2=20updated=20syntax=20highlighting=20and=20com?= =?UTF-8?q?pletion=20suggestions=20due=20to=205.5=20additions=20=E2=80=A2?= =?UTF-8?q?=20improved=20"Format=20SQL"=20connection=20detection?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- SharedSupport/Default Bundles/Format SQL.spBundle/command.plist | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'SharedSupport') diff --git a/SharedSupport/Default Bundles/Format SQL.spBundle/command.plist b/SharedSupport/Default Bundles/Format SQL.spBundle/command.plist index c9458332..13e86145 100644 --- a/SharedSupport/Default Bundles/Format SQL.spBundle/command.plist +++ b/SharedSupport/Default Bundles/Format SQL.spBundle/command.plist @@ -17,7 +17,7 @@ if [ -z "$SQL" ]; then fi # check if connected to the internet and if server is up -connected=$(/sbin/ping -t 5 -c 1 -on www.dpriver.com 2> /dev/null | grep 'icmp' | wc -l) +connected=$(/sbin/ping -t 8 -c 1 -on www.dpriver.com 2> /dev/null | grep '69\.5\.11\.169' | wc -l) if [ $connected -eq "0" ]; then echo "<font color=red>You are probably not connected to the internet or http://www.dpriver.com/ server is down.</font>" exit $SP_BUNDLE_EXIT_SHOW_AS_HTML_TOOLTIP -- cgit v1.2.3