Re: dependency checks
Re: dependency checks
- Subject: Re: dependency checks
- From: email@hidden (Peter Seebach)
- Date: Fri, 11 May 2007 16:53:21 -0500
In message <email@hidden>, Dave Zarzycki writes:
>We've actually discussed this a few times within Apple. We all agree
>that it would be a great idea to provide system administrators this
>kind of crutch so they can workaround software bugs or design flaws.
>Unfortunately, we all have higher priorities for the foreseeable
>future. For whatever it may be worth, you can already fake a lot of
>this stuff up with a shell script right now. The problem is knowing
>what tools to run and how. For example:
>#!/bin/sh
>while [ ! -d /Volumes/NAS ]
>do
> sleep 1
>done
>exec /usr/sbin/my_favorite_daemon
Yup.
>I'm sure a semi-smart person could probably use the same trick
>outlined above with the 'nc' tool to check for port/host reach-ability.
Seems reasonable.
It seems to me that a moderately complete program like this would be
an afternoon's work, and might be generally useful.
I know that, at one point, I had a program somewhat like the above, which
had the interesting trait that Finder wouldn't launch until my program
terminated. I never did get around to a careful debugging of that one,
though.
-s
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden