|
|
|
@ -64,7 +64,8 @@ install -Dpm 0644 %{SOURCE1} %{buildroot}/%{_presetdir}/50-tlp.preset
|
|
|
|
|
install -D -m 644 tlp.service %{buildroot}%{_unitdir}/tlp.service
|
|
|
|
|
install -D -m 644 tlp-sleep.service %{buildroot}%{_unitdir}/tlp-sleep.service
|
|
|
|
|
#THIS IS A WORKAROUND FOR RFKILL!
|
|
|
|
|
ln -sf /dev/null %{buildroot}%{_sysconfdir}/systemd/system/systemd-rfkill@.service
|
|
|
|
|
ln -sf /dev/null systemd-rfkill@.service
|
|
|
|
|
install -D systemd-rfkill@.service %{buildroot}%{_sysconfdir}/systemd/system/systemd-rfkill@.service
|
|
|
|
|
|
|
|
|
|
%files
|
|
|
|
|
%config(noreplace) %{_sysconfdir}/default/tlp
|
|
|
|
|