Fix bug where RFKILL would conflict with TLP on startup

epel9
Jeremy Newton 10 years ago
parent bda80640bd
commit 80ab72eeff

@ -1,6 +1,6 @@
Name: tlp Name: tlp
Version: 0.7 Version: 0.7
Release: 2%{?dist} Release: 3%{?dist}
Summary: Advanced power management tool for Linux Summary: Advanced power management tool for Linux
License: GPLv2+ License: GPLv2+
URL: http://linrunner.de/tlp URL: http://linrunner.de/tlp
@ -63,6 +63,7 @@ install -Dpm 0644 %{SOURCE1} %{buildroot}/%{_presetdir}/50-tlp.preset
#Install systemd services: #Install systemd services:
install -D -m 644 tlp.service %{buildroot}%{_unitdir}/tlp.service install -D -m 644 tlp.service %{buildroot}%{_unitdir}/tlp.service
install -D -m 644 tlp-sleep.service %{buildroot}%{_unitdir}/tlp-sleep.service install -D -m 644 tlp-sleep.service %{buildroot}%{_unitdir}/tlp-sleep.service
ln -sf /dev/null %{buildroot}%{_unitdir}/systemd-rfkill@.service
%files %files
%config(noreplace) %{_sysconfdir}/default/tlp %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 || : /bin/systemctl enable NetworkManager-dispatcher.service >/dev/null 2>&1 || :
%changelog %changelog
* Tue Feb 3 2015 Jeremy Newton <alexjnewt@hotmail.com> - 0.7-3
- Fix rfkill conflict
* Tue Feb 3 2015 Jeremy Newton <alexjnewt@hotmail.com> - 0.7-2 * Tue Feb 3 2015 Jeremy Newton <alexjnewt@hotmail.com> - 0.7-2
- Fix a typo in the spec file - Fix a typo in the spec file

Loading…
Cancel
Save