From 80ab72eeff54b2d311cc72f9be73095217130da4 Mon Sep 17 00:00:00 2001 From: Jeremy Newton Date: May 11 2015 16:55:33 +0000 Subject: Fix bug where RFKILL would conflict with TLP on startup --- diff --git a/tlp.spec b/tlp.spec index 44c104c..6666684 100644 --- a/tlp.spec +++ b/tlp.spec @@ -1,6 +1,6 @@ Name: tlp Version: 0.7 -Release: 2%{?dist} +Release: 3%{?dist} Summary: Advanced power management tool for Linux License: GPLv2+ URL: http://linrunner.de/tlp @@ -63,6 +63,7 @@ install -Dpm 0644 %{SOURCE1} %{buildroot}/%{_presetdir}/50-tlp.preset #Install systemd services: install -D -m 644 tlp.service %{buildroot}%{_unitdir}/tlp.service install -D -m 644 tlp-sleep.service %{buildroot}%{_unitdir}/tlp-sleep.service +ln -sf /dev/null %{buildroot}%{_unitdir}/systemd-rfkill@.service %files %config(noreplace) %{_sysconfdir}/default/tlp @@ -104,6 +105,9 @@ install -D -m 644 tlp-sleep.service %{buildroot}%{_unitdir}/tlp-sleep.service /bin/systemctl enable NetworkManager-dispatcher.service >/dev/null 2>&1 || : %changelog +* Tue Feb 3 2015 Jeremy Newton - 0.7-3 +- Fix rfkill conflict + * Tue Feb 3 2015 Jeremy Newton - 0.7-2 - Fix a typo in the spec file