Package: acpi-support
Version: 0.103-5
When acpi-support resumes, resume.d/62-ifup.sh tells network-manager to
restart. This causes nm-applet to close, requiring the user to restart
it after a suspend/resume cycle.
Instead, network-manager should be told to sleep and wake up on sleep
and resume, as pm-utils does it. From
/usr/lib/pm-utils/sleep.d/10NetworkManager:
suspend_nm() {
# Tell NetworkManager to shut down networking
dbus-send --system \
--dest=org.freedesktop.NetworkManager \
/org/freedesktop/NetworkManager \
org.freedesktop.NetworkManager.sleep
}
resume_nm() {
# Wake up NetworkManager and make it do a new connection
dbus-send --system \
--dest=org.freedesktop.NetworkManager \
/org/freedesktop/NetworkManager \
org.freedesktop.NetworkManager.wake
}
That way, nm-applet (and other clients) won't be disturbed by
NetworkManager's sudden disappearance.
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]