first commit
This commit is contained in:
1
etc_org/pm/power.d/95hdparm-apm
Symbolic link
1
etc_org/pm/power.d/95hdparm-apm
Symbolic link
@ -0,0 +1 @@
|
||||
/usr/lib/tlp-pm/tlp-nop
|
1
etc_org/pm/power.d/disable_wol
Symbolic link
1
etc_org/pm/power.d/disable_wol
Symbolic link
@ -0,0 +1 @@
|
||||
/usr/lib/tlp-pm/tlp-nop
|
1
etc_org/pm/power.d/intel-audio-powersave
Symbolic link
1
etc_org/pm/power.d/intel-audio-powersave
Symbolic link
@ -0,0 +1 @@
|
||||
/usr/lib/tlp-pm/tlp-nop
|
1
etc_org/pm/power.d/laptop-mode
Symbolic link
1
etc_org/pm/power.d/laptop-mode
Symbolic link
@ -0,0 +1 @@
|
||||
/usr/lib/tlp-pm/tlp-nop
|
1
etc_org/pm/power.d/pci_devices
Symbolic link
1
etc_org/pm/power.d/pci_devices
Symbolic link
@ -0,0 +1 @@
|
||||
/usr/lib/tlp-pm/tlp-nop
|
1
etc_org/pm/power.d/pcie_aspm
Symbolic link
1
etc_org/pm/power.d/pcie_aspm
Symbolic link
@ -0,0 +1 @@
|
||||
/usr/lib/tlp-pm/tlp-nop
|
1
etc_org/pm/power.d/sata_alpm
Symbolic link
1
etc_org/pm/power.d/sata_alpm
Symbolic link
@ -0,0 +1 @@
|
||||
/usr/lib/tlp-pm/tlp-nop
|
1
etc_org/pm/power.d/sched-powersave
Symbolic link
1
etc_org/pm/power.d/sched-powersave
Symbolic link
@ -0,0 +1 @@
|
||||
/usr/lib/tlp-pm/tlp-nop
|
1
etc_org/pm/power.d/usb_bluetooth
Symbolic link
1
etc_org/pm/power.d/usb_bluetooth
Symbolic link
@ -0,0 +1 @@
|
||||
/usr/lib/tlp-pm/tlp-nop
|
1
etc_org/pm/power.d/wireless
Symbolic link
1
etc_org/pm/power.d/wireless
Symbolic link
@ -0,0 +1 @@
|
||||
/usr/lib/tlp-pm/tlp-nop
|
1
etc_org/pm/power.d/xfs_buffer
Symbolic link
1
etc_org/pm/power.d/xfs_buffer
Symbolic link
@ -0,0 +1 @@
|
||||
/usr/lib/tlp-pm/tlp-nop
|
33
etc_org/pm/sleep.d/10_unattended-upgrades-hibernate
Executable file
33
etc_org/pm/sleep.d/10_unattended-upgrades-hibernate
Executable file
@ -0,0 +1,33 @@
|
||||
#!/bin/sh
|
||||
|
||||
# Action script ensure that unattended-upgrades is finished
|
||||
# before a hibernate
|
||||
#
|
||||
# Copyright: Copyright (c) 2009 Michael Vogt
|
||||
# License: GPL-2
|
||||
#
|
||||
|
||||
PATH=/sbin:/usr/sbin:/bin:/usr/bin
|
||||
SHUTDOWN_HELPER=/usr/share/unattended-upgrades/unattended-upgrade-shutdown
|
||||
|
||||
if [ -x /usr/bin/python3 ]; then
|
||||
PYTHON=python3
|
||||
else
|
||||
PYTHON=python
|
||||
fi
|
||||
|
||||
if [ ! -x /usr/share/unattended-upgrades/unattended-upgrade-shutdown ]; then
|
||||
exit 0
|
||||
fi
|
||||
|
||||
case "${1}" in
|
||||
hibernate)
|
||||
if [ -e $SHUTDOWN_HELPER ]; then
|
||||
$PYTHON $SHUTDOWN_HELPER
|
||||
fi
|
||||
;;
|
||||
resume|thaw)
|
||||
# nothing
|
||||
;;
|
||||
esac
|
||||
|
Reference in New Issue
Block a user