1 ## arg 1: the new package version
3 for i in 95hdparm-apm disable_wol hal-cd-polling intel-audio-powersave laptop-mode \
4 journal-commit pcie_aspm sata_alpm sched-powersave wireless \
6 if [ -x /usr/lib/pm-utils/power.d/$i ]; then
7 ln -sf /usr/lib/tlp-pm/tlp-nop /etc/pm/power.d/$i
11 ## arg 1: the old package version
13 for i in 95hdparm-apm disable_wol hal-cd-polling intel-audio-powersave laptop-mode \
14 journal-commit pcie_aspm sata_alpm sched-powersave wireless \
16 if [ "$(readlink /etc/pm/power.d/$i)" = "/usr/lib/tlp-pm/tlp-nop" ]; then