3 <!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.2//EN" "http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd">
5 This file is part of systemd.
7 Copyright 2013 Lennart Poettering
9 systemd is free software; you can redistribute it and/or modify it
10 under the terms of the GNU Lesser General Public License as published by
11 the Free Software Foundation; either version 2.1 of the License, or
12 (at your option) any later version.
14 systemd is distributed in the hope that it will be useful, but
15 WITHOUT ANY WARRANTY; without even the implied warranty of
16 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
17 Lesser General Public License for more details.
19 You should have received a copy of the GNU Lesser General Public License
20 along with systemd; If not, see <http://www.gnu.org/licenses/>.
22 <refentry id="systemd-rfkill@.service" conditional='ENABLE_RFKILL'>
25 <title>systemd-rfkill@.service</title>
26 <productname>systemd</productname>
30 <contrib>Developer</contrib>
31 <firstname>Lennart</firstname>
32 <surname>Poettering</surname>
33 <email>lennart@poettering.net</email>
39 <refentrytitle>systemd-rfkill@.service</refentrytitle>
40 <manvolnum>8</manvolnum>
44 <refname>systemd-rfkill@.service</refname>
45 <refname>systemd-rfkill</refname>
46 <refpurpose>Load and save the RF kill switch state at boot and shutdown</refpurpose>
50 <para><filename>systemd-rfkill@.service</filename></para>
51 <para><filename>/usr/lib/systemd/systemd-rfkill</filename></para>
55 <title>Description</title>
57 <para><filename>systemd-rfkill@.service</filename> is
58 a service that restores the RF kill switch state at
59 early boot and saves it at shutdown. On disk, the RF
60 kill switch state is stored in
61 <filename>/var/lib/systemd/rfkill/</filename>.</para>
65 <title>Kernel Command Line</title>
67 <para><filename>systemd-rfkill</filename> understands
68 the following kernel command line parameter:</para>
70 <variablelist class='kernel-commandline-options'>
72 <term><varname>systemd.restore_state=</varname></term>
74 <listitem><para>Takes a boolean
76 <literal>1</literal>. If
77 <literal>0</literal>, does not restore
78 the rfkill settings on boot. However,
79 settings will still be stored on shutdown.
86 <title>See Also</title>
88 <citerefentry><refentrytitle>systemd</refentrytitle><manvolnum>1</manvolnum></citerefentry>