MacOS – Disabling lots and lots of NFS mounts based on location

macosnfs

I have a number of NFS automounts in my Local directory node on 10.7. I am using a laptop and when I work at home I don't have access to the servers. As a result I often get beachballing Navigation Services dialogs for example, and logs are flooded with NFS error messages on this and that server not being reachable.

Is there some simple app (preferably a GUI one but scripting will do as well) which will disable the mounts when I am on WiFi or just not at work?

Best Answer

Try ControlPlane. It can perform all sorts of different actions, including mounting/unmounting network drives based on various triggers, including which WiFi network you're connected to.