summaryrefslogtreecommitdiffstats
path: root/man
diff options
context:
space:
mode:
authorLuca Boccassi <luca.boccassi@microsoft.com>2021-10-07 00:36:05 +0200
committerGitHub <noreply@github.com>2021-10-07 00:36:05 +0200
commit0cf250022cc6f6eb62ccd9d3f3bed54e1bcf9dda (patch)
tree14c613d83cac89549c8ad545322244d7ef143a7a /man
parenttest: test udev with a _very_ long device name (diff)
parentudev/net: introduce WakeOnLanPassword= (diff)
downloadsystemd-0cf250022cc6f6eb62ccd9d3f3bed54e1bcf9dda.tar.xz
systemd-0cf250022cc6f6eb62ccd9d3f3bed54e1bcf9dda.zip
Merge pull request #20926 from yuwata/udev-net-wol-sopass
udev/net: introduce WakeOnLanPassword=
Diffstat (limited to 'man')
-rw-r--r--man/systemd.link.xml26
1 files changed, 24 insertions, 2 deletions
diff --git a/man/systemd.link.xml b/man/systemd.link.xml
index c8d3c51374..487f314396 100644
--- a/man/systemd.link.xml
+++ b/man/systemd.link.xml
@@ -537,8 +537,17 @@
<varlistentry>
<term><option>secureon</option></term>
<listitem>
- <para>Enable secureon(tm) password for MagicPacket(tm).
- </para>
+ <para>Enable SecureOn password for MagicPacket. Implied when
+ <varname>WakeOnLanPassword=</varname> is specified. If specified without
+ <varname>WakeOnLanPassword=</varname> option, then the password is read from the
+ credential <literal><replaceable>LINK</replaceable>.link.wol.password</literal> (e.g.,
+ <literal>60-foo.link.wol.password</literal>), and if the credential not found, then
+ read from <literal>wol.password</literal>. See
+ <varname>LoadCredential=</varname>/<varname>SetCredential=</varname> in
+ <citerefentry><refentrytitle>systemd.exec</refentrytitle><manvolnum>1</manvolnum></citerefentry>
+ for details. The password in the credential, must be 6 bytes in hex format with each
+ byte separated by a colon (<literal>:</literal>) like an Ethernet MAC address, e.g.,
+ <literal>aa:bb:cc:dd:ee:ff</literal>.</para>
</listitem>
</varlistentry>
</variablelist>
@@ -549,6 +558,19 @@
</listitem>
</varlistentry>
<varlistentry>
+ <term><varname>WakeOnLanPassword=</varname></term>
+ <listitem>
+ <para>Specifies the SecureOn password for MagicPacket. Takes an absolute path to a regular
+ file or an <constant>AF_UNIX</constant> stream socket, or the plain password. When a path to
+ a regular file is specified, the password is read from it. When an
+ <constant>AF_UNIX</constant> stream socket is specified, a connection is made to it and the
+ password is read from it. The password must be 6 bytes in hex format with each byte separated
+ by a colon (<literal>:</literal>) like an Ethernet MAC address, e.g.,
+ <literal>aa:bb:cc:dd:ee:ff</literal>. This implies <varname>WakeOnLan=secureon</varname>.
+ Defaults to unset, and the current value will not be changed.</para>
+ </listitem>
+ </varlistentry>
+ <varlistentry>
<term><varname>Port=</varname></term>
<listitem>
<para>The port option is used to select the device port. The