site_archiver@lists.apple.com Delivered-To: darwin-dev@lists.apple.com In message <EEB16D29-C90A-4BD3-AF0F-C98393B3AAE4@apple.com>, 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 (Darwin-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/darwin-dev/site_archiver%40lists.appl... This email sent to site_archiver@lists.apple.com