With some urging I’ve made the unmount.sh script work for samba shares. It works in preliminary testing.
I also re-wrote the script to make it quite a bit simpler to add or change the search strings and thus the types of shares that the script is capable of unmounting. So far it will unmount AFP, sshfs and Samba shares when the script detects a change in your routers MAC address.
The upside is I no longer see the SPOD or have my Finder freeze if I forgot to unmount an AFP share on my laptop.
Related posts:
- Gracefully dismount unconnected AFP disk Have you ever picked up you laptop and gone from...
- unmount.sh Part 2 The unmount.sh script has been working great in testing here....
Related posts brought to you by Yet Another Related Posts Plugin.