Greg Ercolano wrote:
> 4) Create a "StartupParameters.plist" file in that dir, eg:
> [..]
> ---- snip
> {
> Description = "Mounts the local file server";
> Provides = ("MountLocalFileServer");
> Requires = ("Network", "System Log", "Resolver");
*** THE FOLLOWING IS FOR TIGER (10.4) AND OLDER
*** THIS INFO DOES *NOT* APPLY TO LEOPARD (10.5)
If you get errors in the /var/log/system.log like:
NFS Portmap: RPC: Port mapper failure - RPC: Unable to send
..then edit your:
/Library/StartupItems/MountLocalFileServer/StartupParameters.plist
..file, and change the "Requires" line to include "NFS", eg:
BEFORE: Requires = ("Network", "System Log", "Resolver");
AFTER: Requires = ("Network", "System Log", "Resolver", "NFS");
^^^^^
This way your boot script won't be started until the client side
NFS daemons have been started.
"NFS" is what the System's own 'NFS' startup script supplies when
starting the NFS daemons, so it's probably a good thing to
'Require' if your system has an /System/Library/StartupItems/NFS directory.
|