Here's a script I created that seems to work on my system for this purpose. I placed it in /etc/pm/sleep.d/80_autofs
Of course, as expected, if any of the automounted shares are busy (any files open), it won't do anything for them. It's just a "best effort" attempt. ** Attachment added: "autofs" http://launchpadlibrarian.net/37969194/autofs -- autofs suspend/hibernate script should be ported from apmd system to pm-utils https://bugs.launchpad.net/bugs/506116 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs