This is not a sensible solution. There are numerous patches already to fix the original problem:
On launchpad: https://bugs.launchpad.net/ubuntu/+source/pm-utils/+bug/906347 (mine). https://bugs.launchpad.net/ubuntu/+source/pm-utils/+bug/1007924 On debian: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=647418 Upstream: https://bugs.freedesktop.org/show_bug.cgi?id=30701 https://bugs.freedesktop.org/show_bug.cgi?id=42500 There are also some random sources on the internet saying that NetworkManager also listen to UPower events. ** Bug watch added: Debian Bug tracker #647418 http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=647418 ** Bug watch added: freedesktop.org Bugzilla #30701 https://bugs.freedesktop.org/show_bug.cgi?id=30701 ** Bug watch added: freedesktop.org Bugzilla #42500 https://bugs.freedesktop.org/show_bug.cgi?id=42500 -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to pm-utils in Ubuntu. https://bugs.launchpad.net/bugs/888434 Title: /usr/lib/pm-utils/sleep.d/55NetworkManager calls the wrong method To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/pm-utils/+bug/888434/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs