On 10 Mar '08, at 9:10 PM, Jim Brown wrote:
In Tiger one can determine if AFP is running with 'ps -axc | grep AppleFileServer' and AFP can be turned off by simply running a shell command (sudo killall AppleFileServer). This doesn't really work in Leopard for either determining if AFP is running (AppleFileServer doesn't seem to be listed in 'ps -axc' even if its running) or turning it off.
Ouch. Don't just kill the service!(And the reason you don't see a process for AppleFileServer is that it's launched on demand, when an incoming connection is made to the associated IP port.)
Check the man page for "launchctl". —Jens
smime.p7s
Description: S/MIME cryptographic signature
_______________________________________________ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Contact the moderators at cocoa-dev-admins(at)lists.apple.com Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to [EMAIL PROTECTED]