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