Skip to content

Commit

Permalink
Remove all pm-utils scripts (Issue #363).
Browse files Browse the repository at this point in the history
  • Loading branch information
linrunner committed Sep 17, 2018
1 parent 2fd52ff commit c52de47
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 57 deletions.
22 changes: 0 additions & 22 deletions 49tlp

This file was deleted.

11 changes: 0 additions & 11 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
TLP_SBIN ?= /usr/sbin
TLP_BIN ?= /usr/bin
TLP_TLIB ?= /usr/share/tlp
TLP_PLIB ?= /usr/lib/pm-utils
TLP_ULIB ?= /lib/udev
TLP_NMDSP ?= /etc/NetworkManager/dispatcher.d
TLP_CONF ?= /etc/default/tlp
Expand All @@ -19,7 +18,6 @@ TLP_RUN ?= /run/tlp
_SBIN = $(DESTDIR)$(TLP_SBIN)
_BIN = $(DESTDIR)$(TLP_BIN)
_TLIB = $(DESTDIR)$(TLP_TLIB)
_PLIB = $(DESTDIR)$(TLP_PLIB)
_ULIB = $(DESTDIR)$(TLP_ULIB)
_NMDSP = $(DESTDIR)$(TLP_NMDSP)
_CONF = $(DESTDIR)$(TLP_CONF)
Expand All @@ -33,15 +31,13 @@ _RUN = $(DESTDIR)$(TLP_RUN)
SED = sed \
-e "s|@TLP_SBIN@|$(TLP_SBIN)|g" \
-e "s|@TLP_TLIB@|$(TLP_TLIB)|g" \
-e "s|@TLP_PLIB@|$(TLP_PLIB)|g" \
-e "s|@TLP_ULIB@|$(TLP_ULIB)|g" \
-e "s|@TLP_CONF@|$(TLP_CONF)|g" \
-e "s|@TLP_RUN@|$(TLP_RUN)|g"

INFILES = \
tlp \
tlp-functions \
tlp-nop \
tlp-rdw-nm \
tlp-rdw.rules \
tlp-rdw-udev \
Expand Down Expand Up @@ -72,7 +68,6 @@ MANFILES8 = \
SHFILES = \
tlp.in \
tlp-functions.in \
tlp-nop.in \
tlp-rdw-nm.in \
tlp-rdw-udev.in \
tlp-rf-func \
Expand Down Expand Up @@ -116,10 +111,6 @@ ifeq ($(TLP_WITH_SYSTEMD),1)
install -D -m 644 tlp.service $(_SYSD)/tlp.service
install -m 644 tlp-sleep.service $(_SYSD)/
endif
ifneq ($(TLP_NO_PMUTILS),1)
install -m 755 tlp-nop $(_TLIB)/
install -D -m 755 49tlp $(_PLIB)/sleep.d/49tlp
endif
ifneq ($(TLP_NO_BASHCOMP),1)
install -D -m 644 tlp.bash_completion $(_SHCPL)/tlp
ln -sf tlp $(_SHCPL)/tlp-stat
Expand Down Expand Up @@ -158,14 +149,12 @@ uninstall-tlp:
rm -f $(_TLIB)/tpacpi-bat
rm $(_TLIB)/tlp-functions
rm $(_TLIB)/tlp-rf-func
rm $(_TLIB)/tlp-nop
rmdir $(_TLIB)
rm $(_ULIB)/tlp-usb-udev
rm $(_ULIB)/rules.d/85-tlp.rules
rm -f $(DESTDIR)/etc/init.d/tlp
rm -f $(_SYSD)/tlp.service
rm -f $(_SYSD)/tlp-sleep.service
rm -f $(_PLIB)/sleep.d/49tlp
rm -f $(_SHCPL)/tlp-stat
rm -f $(_SHCPL)/bluetooth
rm -f $(_SHCPL)/wifi
Expand Down
3 changes: 2 additions & 1 deletion changelog
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
+++ 1.2 --- 29.07.2018 +++
+++ 1.2 --- 17.09.2018 +++

*** Development version ***

* Features
General:
- tlp bat/ac: keep manual power settings until tlp start (Issue #349)
- Remove all pm-utils scripts (Issue #363)
ThinkPad Battery:
- New native kernel API for battery features "natacpi" (Issue #321;
requires kernel 4.17; disabled by default
Expand Down
23 changes: 0 additions & 23 deletions tlp-nop.in

This file was deleted.

0 comments on commit c52de47

Please sign in to comment.