diff --git a/tlp.spec b/tlp.spec index 6c2ea0c..8542273 100644 --- a/tlp.spec +++ b/tlp.spec @@ -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