site_archiver@lists.apple.com Delivered-To: darwin-dev@lists.apple.com davez On Jan 11, 2008, at 1:59 PM, Andre-John Mas wrote: Hi, Andre _______________________________________________ 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/zarzycki%40apple.com _______________________________________________ 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... You'll need to talk to the team that maintains the tun/tap software and find out what APIs they vend to monitor (and perhaps interact with) the lifecycle of tun/tap. Once you find out those APIs, change your script to consume those APIs as appropriate. I have written a launchd configuration for Aiccu (IPv6 tunneling software): <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd "> <plist version="1.0"> <dict> <key>Label</key> <string>net.sixxs.Aiccu</string> <key>ProgramArguments</key> <array> <string>/usr/sbin/aiccu</string> <string>start</string> <string>/etc/aiccu.conf</string> </array> <key>RunAtLoad</key> <true/> </dict> </plist> I have just noticed that nowhere do I indicate a dependency requirement on tun/tap and this script is only to be runatload, to avoid reconnecting when the program fails. What should I do to ensure that this is only run once tun/tap is available? This email sent to zarzycki@apple.com This email sent to site_archiver@lists.apple.com