Re: Checking network status as .mpkg requirement
site_archiver@lists.apple.com Delivered-To: installer-dev@lists.apple.com Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:subject:mime-version :content-type:from:in-reply-to:date:cc:content-transfer-encoding :message-id:references:to:x-mailer; bh=N+/EaZS23EAifr3sm8KjRaiqVHjpHUUhmNviczP2wJk=; b=c2UTOS3qT4hbxdXszVtz6ilG8Wb6437bt82X/10dv1RGZ3M4Ptc7mAL0ushpx0GmBk v8h3cyn/4o3ApYCLS9eIlVha2apc1+9iBrd3ECyLouYJZB4cBZGBZ1GiFO0dH6rODSaX jPuCGgT8bZ+2NzkBZ1B7q2bgEAiD2adEzBhkQ= Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=subject:mime-version:content-type:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to:x-mailer; b=aUBWpqNUURDlAwY3agFMDBG0M2ZMgKiDXQ3XxO27733AgjTnMcDnwC8egGx9DkCONz 5Bg/R4EAk91MbhN7NiEFh3orUXfuelfuPvos94pXR2QZjnrVFF1CkUnlUEaWR2knKG6M 79yNVydPLUemwjTDalUNmGpzmIRrDYR62nt2k= Fair enough, but using ping -t doesn't fix the problem: the requirement always fails, whether the pass value is set to "true" or "false". It's possible that sending arguments in a script command like this is illegal, but even no-arg scripts like "/bin/pwd" fail in all cases. I'm about ready to conclude that "result of script" as an .mpkg requirement has no meaningful functionality and cannot actually be used. --Chris On Jan 29, 2010, at 11:09 AM, Chris Devers wrote:
On Fri, Jan 29, 2010 at 10:55 AM, Chris Adamson <invalidname@gmail.com> wrote:
At least as of 10.6, the -W is a timeout in milliseconds for each ping.
I see. Maybe `ping -t` would be more robust? It exists on 10.5 & 10.6, and sets an overall timeout for the command, rather than a specific timeout for each ping request. Thus, `ping -t 10` would be roughly equivalent to the `ping -c2 -w5000` that you're using.
_______________________________________________ Do not post admin requests to the list. They will be ignored. Installer-dev mailing list (Installer-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/installer-dev/site_archiver%40lists.a... This email sent to site_archiver@lists.apple.com
participants (1)
-
Chris Adamson