]> git.ipfire.org Git - thirdparty/systemd.git/blame - 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
CommitLineData
3990f247
LP
1<?xml version="1.0"?>
2<!--*-nxml-*-->
12b42c76 3<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.2//EN" "http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd">
3990f247 4<!--
572eb058
ZJS
5 SPDX-License-Identifier: LGPL-2.1+
6
3990f247
LP
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-->
d35c1bb1 24<refentry id="systemd-rfkill.service" conditional='ENABLE_RFKILL'>
3990f247 25
798d3a52 26 <refentryinfo>
d35c1bb1 27 <title>systemd-rfkill.service</title>
798d3a52
ZJS
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>
d35c1bb1 41 <refentrytitle>systemd-rfkill.service</refentrytitle>
798d3a52
ZJS
42 <manvolnum>8</manvolnum>
43 </refmeta>
44
45 <refnamediv>
d35c1bb1
LP
46 <refname>systemd-rfkill.service</refname>
47 <refname>systemd-rfkill.socket</refname>
798d3a52 48 <refname>systemd-rfkill</refname>
d35c1bb1 49 <refpurpose>Load and save the RF kill switch state at boot and change</refpurpose>
798d3a52
ZJS
50 </refnamediv>
51
52 <refsynopsisdiv>
d35c1bb1
LP
53 <para><filename>systemd-rfkill.service</filename></para>
54 <para><filename>systemd-rfkill.socket</filename></para>
12b42c76 55 <para><filename>/usr/lib/systemd/systemd-rfkill</filename></para>
798d3a52
ZJS
56 </refsynopsisdiv>
57
58 <refsect1>
59 <title>Description</title>
60
d35c1bb1 61 <para><filename>systemd-rfkill.service</filename> is a service
798d3a52 62 that restores the RF kill switch state at early boot and saves it
d35c1bb1 63 on each change. On disk, the RF kill switch state is stored in
798d3a52
ZJS
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>
3990f247
LP
91
92</refentry>