autofs suspend/hibernate script should be ported from apmd system to pm-utils
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
pm-utils (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: autofs
The autofs package in karmic ships with the script /etc/apm/
See https:/
Description: Ubuntu 9.10
Release: 9.10
autofs:
Installed: 4.1.4+debian-
Candidate: 4.1.4+debian-
Version table:
*** 4.1.4+debian-
500 http://
100 /var/lib/
affects: | autofs (Ubuntu) → pm-utils (Ubuntu) |
Changed in pm-utils (Ubuntu): | |
status: | New → Confirmed |
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.