# Action script ensure that unattended-upgrades is finished
# before a hibernate
#
# Copyright: Copyright (c) 2009 Michael Vogt
# License: GPL-2
#
echo OFF > /sys/kernel/debug/vgaswitcheroo/switch
##### vi /etc/pm/sleep.d/20_reenable_ati
#!/bin/sh
# Action script ensure that unattended-upgrades is finished
# before a hibernate
#
# Copyright: Copyright (c) 2009 Michael Vogt
# License: GPL-2
#
echo ON > /sys/kernel/debug/vgaswitcheroo/switch
Found an workaround on ubuntu13.10:
##### vi /etc/pm/ power.d/ 20_disable_ ati
#!/bin/sh
# Action script ensure that unattended-upgrades is finished debug/vgaswitch eroo/switch
# before a hibernate
#
# Copyright: Copyright (c) 2009 Michael Vogt
# License: GPL-2
#
echo OFF > /sys/kernel/
##### vi /etc/pm/ sleep.d/ 20_reenable_ ati
#!/bin/sh
# Action script ensure that unattended-upgrades is finished debug/vgaswitch eroo/switch
# before a hibernate
#
# Copyright: Copyright (c) 2009 Michael Vogt
# License: GPL-2
#
echo ON > /sys/kernel/