Re: StartupItem info: Laptop Network Starting
Re: StartupItem info: Laptop Network Starting
- Subject: Re: StartupItem info: Laptop Network Starting
- From: The Doctor What <email@hidden>
- Date: Sun, 31 Mar 2002 16:46:27 -0600
No, not Resolver. Tried it on a lark, since it seems like *something*
that I need.
But for example, I just unplugged my laptop (whups, need to plug it in
before I send this) and rebooted. And I noticed that my script (I'm
using a shell script that logs things for the moment. Better than
hanging up the system)
logs that what happens is this:
* Unplug network (no log)
* reboot (logs that my stuff is "stop"ped)
* Startup (logs that my stuff is "start"ed)
* Plug in network (no log)
* Unplug network (no log)
The place my script (and application) need to run is those parts where I
have "no log".
The info available implies that this *should* work. I don't understand
why it wouldn't.
:-(
Ciao!
On Sunday, March 31, 2002, at 04:04 PM, Lance Bland wrote:
Did you try this:
Requires = ("Network","Resolver");
i.e.: Resolver ?
-lance
On Sunday, March 31, 2002, at 04:54 PM, The Doctor What wrote:
I have an application that needs to be run *after* the network is
brought up and has an IP and DNS Servers, etc.
I would just drop it in /Library/StartupItems with a plist that
requires Network and NetworkConfiguration. But that seems to only
require that the network system be running.
In my case (I have a laptop), if I start the laptop without ethernet,
then my application will run, but won't connect to the remote server.
This is a large part of the point of my application, since it tracks
the ip address of the laptop as it moves around.
I would think that *something* in OS X must know about when the
network goes up and down and could tell my application, but I'm having
a hard time finding it.
Thanks for any help.
Ciao!
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.
_______________________________________________
Lance Bland
System Administrator at VVI
mailto:email@hidden
http://www.vvi.com
Realtime, bulk and web data reporting and visualization
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.