MacOS – In OS X 10.6 how do you mount an AFP share at boot or before user login

afpbootmacosmount

Is there a way to mount an AFP share at boot so it is accessible to the system without a user logged in?

I would like to run scripts via SSH or as a daemon on boot that check files on my AFP share. Unfortunately, the shares don't mount until a user logs in.

Best Answer

Not sure that you can. I would think for security reasons a user has to be logged in, so that a set of credentials can be used. There's probably some scripts that are run pre-login though, so I suppose if you specify your credentials in there it would be fine.