Karel Zak wrote: > On Wed, Nov 21, 2018 at 09:04:37PM +0100, Stanislav Brabec wrote: >> Add rfkill-block@.service and rfkill-unblock@.service templates. >> These make rfkill integration to systemd easier. >> >> Files come from openSUSE rfkill package. >> >> Example: >> Use `systemctl {start,stop} rfkill-block@bluetooth` to block or unblock >> (disable or enable) the bluetooth device. > > OK, but why? ;-) > > Does anything within systemd depend on rfkill? I guess for humans is > more friendly to call "rfkill unblock bluetooth" than use systemctl. I am not sure about use case of the original author, but I guess that it can be useful for suspend target and automatic unblocking when using on demand services (e. g. bluetooth service called after rfkill-unblock@bluetooth). -- Best Regards / S pozdravem, Stanislav Brabec software developer --------------------------------------------------------------------- SUSE LINUX, s. r. o. e-mail: sbrabec@xxxxxxxx Křižíkova 148/34 (Corso IIa) tel: +49 911 7405384547 186 00 Praha 8-Karlín fax: +420 284 084 001 Czech Republic http://www.suse.cz/ PGP: 830B 40D5 9E05 35D8 5E27 6FA3 717C 209F A04F CD76