<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On Sun, Feb 28, 2016 at 12:40 PM, Łukasz Stelmach <span dir="ltr"><<a href="mailto:stlman@poczta.fm" target="_blank">stlman@poczta.fm</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi,<br>
<br>
One of the default rules supplied by systemd (v215 in Debian) is<br>
responsible restoring the state of rfkill switches.<br>
<br>
SUBSYSTEM=="rfkill", TAG+="systemd", ENV{SYSTEMD_WANTS}+="systemd-rfkill@$name.service"<br>
<br>
For a reason or two I'd like to override it and not restore the state.<br>
I don't want make a copy of 99-systemd.rules in /etc just to edit one<br>
line. Is there any other reasonable way to prevent the above rule from<br>
being executed?<br></blockquote><div><br></div><div>You can `systemctl mask systemd-rfkill@.service`.</div></div><div><br></div>-- <br><div class="gmail_signature"><div dir="ltr">Mantas Mikulėnas <<a href="mailto:grawity@gmail.com" target="_blank">grawity@gmail.com</a>></div></div>
</div></div>