]> git.ipfire.org Git - thirdparty/systemd.git/blob - man/systemd-rfkill.service.xml
test-execute: Add tests for new PassEnvironment= directive
[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 This file is part of systemd.
6
7 Copyright 2013 Lennart Poettering
8
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.
13
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.
18
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/>.
21 -->
22 <refentry id="systemd-rfkill.service" conditional='ENABLE_RFKILL'>
23
24 <refentryinfo>
25 <title>systemd-rfkill.service</title>
26 <productname>systemd</productname>
27
28 <authorgroup>
29 <author>
30 <contrib>Developer</contrib>
31 <firstname>Lennart</firstname>
32 <surname>Poettering</surname>
33 <email>lennart@poettering.net</email>
34 </author>
35 </authorgroup>
36 </refentryinfo>
37
38 <refmeta>
39 <refentrytitle>systemd-rfkill.service</refentrytitle>
40 <manvolnum>8</manvolnum>
41 </refmeta>
42
43 <refnamediv>
44 <refname>systemd-rfkill.service</refname>
45 <refname>systemd-rfkill.socket</refname>
46 <refname>systemd-rfkill</refname>
47 <refpurpose>Load and save the RF kill switch state at boot and change</refpurpose>
48 </refnamediv>
49
50 <refsynopsisdiv>
51 <para><filename>systemd-rfkill.service</filename></para>
52 <para><filename>systemd-rfkill.socket</filename></para>
53 <para><filename>/usr/lib/systemd/systemd-rfkill</filename></para>
54 </refsynopsisdiv>
55
56 <refsect1>
57 <title>Description</title>
58
59 <para><filename>systemd-rfkill.service</filename> is a service
60 that restores the RF kill switch state at early boot and saves it
61 on each change. On disk, the RF kill switch state is stored in
62 <filename>/var/lib/systemd/rfkill/</filename>.</para>
63 </refsect1>
64
65 <refsect1>
66 <title>Kernel Command Line</title>
67
68 <para><filename>systemd-rfkill</filename> understands the
69 following kernel command line parameter:</para>
70
71 <variablelist class='kernel-commandline-options'>
72 <varlistentry>
73 <term><varname>systemd.restore_state=</varname></term>
74
75 <listitem><para>Takes a boolean argument. Defaults to
76 <literal>1</literal>. If <literal>0</literal>, does not
77 restore the rfkill settings on boot. However, settings will
78 still be stored on shutdown. </para></listitem>
79 </varlistentry>
80 </variablelist>
81 </refsect1>
82
83 <refsect1>
84 <title>See Also</title>
85 <para>
86 <citerefentry><refentrytitle>systemd</refentrytitle><manvolnum>1</manvolnum></citerefentry>
87 </para>
88 </refsect1>
89
90 </refentry>