]> git.ipfire.org Git - thirdparty/systemd.git/blob - man/systemd-rfkill.service.xml
verify: use manager_load_startable_unit_or_warn() to load units for verification
[thirdparty/systemd.git] / man / systemd-rfkill.service.xml
1 <?xml version="1.0"?>
2 <!--*-nxml-*-->
3 <!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.2//EN" "http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd">
4 <!--
5 SPDX-License-Identifier: LGPL-2.1+
6
7 This file is part of systemd.
8
9 Copyright 2013 Lennart Poettering
10
11 systemd is free software; you can redistribute it and/or modify it
12 under the terms of the GNU Lesser General Public License as published by
13 the Free Software Foundation; either version 2.1 of the License, or
14 (at your option) any later version.
15
16 systemd is distributed in the hope that it will be useful, but
17 WITHOUT ANY WARRANTY; without even the implied warranty of
18 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
19 Lesser General Public License for more details.
20
21 You should have received a copy of the GNU Lesser General Public License
22 along with systemd; If not, see <http://www.gnu.org/licenses/>.
23 -->
24 <refentry id="systemd-rfkill.service" conditional='ENABLE_RFKILL'>
25
26 <refentryinfo>
27 <title>systemd-rfkill.service</title>
28 <productname>systemd</productname>
29
30 <authorgroup>
31 <author>
32 <contrib>Developer</contrib>
33 <firstname>Lennart</firstname>
34 <surname>Poettering</surname>
35 <email>lennart@poettering.net</email>
36 </author>
37 </authorgroup>
38 </refentryinfo>
39
40 <refmeta>
41 <refentrytitle>systemd-rfkill.service</refentrytitle>
42 <manvolnum>8</manvolnum>
43 </refmeta>
44
45 <refnamediv>
46 <refname>systemd-rfkill.service</refname>
47 <refname>systemd-rfkill.socket</refname>
48 <refname>systemd-rfkill</refname>
49 <refpurpose>Load and save the RF kill switch state at boot and change</refpurpose>
50 </refnamediv>
51
52 <refsynopsisdiv>
53 <para><filename>systemd-rfkill.service</filename></para>
54 <para><filename>systemd-rfkill.socket</filename></para>
55 <para><filename>/usr/lib/systemd/systemd-rfkill</filename></para>
56 </refsynopsisdiv>
57
58 <refsect1>
59 <title>Description</title>
60
61 <para><filename>systemd-rfkill.service</filename> is a service
62 that restores the RF kill switch state at early boot and saves it
63 on each change. On disk, the RF kill switch state is stored in
64 <filename>/var/lib/systemd/rfkill/</filename>.</para>
65 </refsect1>
66
67 <refsect1>
68 <title>Kernel Command Line</title>
69
70 <para><filename>systemd-rfkill</filename> understands the
71 following kernel command line parameter:</para>
72
73 <variablelist class='kernel-commandline-options'>
74 <varlistentry>
75 <term><varname>systemd.restore_state=</varname></term>
76
77 <listitem><para>Takes a boolean argument. Defaults to
78 <literal>1</literal>. If <literal>0</literal>, does not
79 restore the rfkill settings on boot. However, settings will
80 still be stored on shutdown. </para></listitem>
81 </varlistentry>
82 </variablelist>
83 </refsect1>
84
85 <refsect1>
86 <title>See Also</title>
87 <para>
88 <citerefentry><refentrytitle>systemd</refentrytitle><manvolnum>1</manvolnum></citerefentry>
89 </para>
90 </refsect1>
91
92 </refentry>