1<?xml version="1.0"?> 2<!--*-nxml-*--> 3<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" 4 "http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd"> 5<!-- SPDX-License-Identifier: LGPL-2.1-or-later --> 6<refentry id="systemd-rfkill.service" conditional='ENABLE_RFKILL'> 7 8 <refentryinfo> 9 <title>systemd-rfkill.service</title> 10 <productname>systemd</productname> 11 </refentryinfo> 12 13 <refmeta> 14 <refentrytitle>systemd-rfkill.service</refentrytitle> 15 <manvolnum>8</manvolnum> 16 </refmeta> 17 18 <refnamediv> 19 <refname>systemd-rfkill.service</refname> 20 <refname>systemd-rfkill.socket</refname> 21 <refname>systemd-rfkill</refname> 22 <refpurpose>Load and save the RF kill switch state at boot and change</refpurpose> 23 </refnamediv> 24 25 <refsynopsisdiv> 26 <para><filename>systemd-rfkill.service</filename></para> 27 <para><filename>systemd-rfkill.socket</filename></para> 28 <para><filename>/usr/lib/systemd/systemd-rfkill</filename></para> 29 </refsynopsisdiv> 30 31 <refsect1> 32 <title>Description</title> 33 34 <para><filename>systemd-rfkill.service</filename> is a service 35 that restores the RF kill switch state at early boot and saves it 36 on each change. On disk, the RF kill switch state is stored in 37 <filename>/var/lib/systemd/rfkill/</filename>.</para> 38 </refsect1> 39 40 <refsect1> 41 <title>Kernel Command Line</title> 42 43 <para><filename>systemd-rfkill</filename> understands the 44 following kernel command line parameter:</para> 45 46 <variablelist class='kernel-commandline-options'> 47 <varlistentry> 48 <term><varname>systemd.restore_state=</varname></term> 49 50 <listitem><para>Takes a boolean argument. Defaults to 51 <literal>1</literal>. If <literal>0</literal>, does not 52 restore the rfkill settings on boot. However, settings will 53 still be stored on shutdown. </para></listitem> 54 </varlistentry> 55 </variablelist> 56 </refsect1> 57 58 <refsect1> 59 <title>See Also</title> 60 <para> 61 <citerefentry><refentrytitle>systemd</refentrytitle><manvolnum>1</manvolnum></citerefentry> 62 </para> 63 </refsect1> 64 65</refentry> 66