3
# Action script ensure that unattended-upgrades is finished
6
# Copyright: Copyright (c) 2009 Michael Vogt
10
PATH=/sbin:/usr/sbin:/bin:/usr/bin
12
if [ ! -x /usr/share/unattended-upgrades/unattended-upgrade-shutdown ]; then
16
SELF=unattended-upgrades-hibernate
20
# pm-action(8) - <action> <suspend method>
22
# On suspend|hibernate, disconnect any wpa-roam managed interfaces,
23
# reconnect it on resume.
27
python /usr/share/unattended-upgrades/unattended-upgrade-shutdown