1
0
mirror of https://github.com/systemd/systemd.git synced 2025-01-26 14:04:03 +03:00

Merge pull request #19556 from lucasrangit/network-wifi-interface-type-typos

network: update documentation and examples to use correct interface type and lookup command
This commit is contained in:
Zbigniew Jędrzejewski-Szmek 2021-05-10 13:55:07 +02:00 committed by GitHub
commit 8808d3289e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 7 additions and 4 deletions

View File

@ -133,7 +133,10 @@
<term><varname>Type=</varname></term>
<listitem>
<para>A whitespace-separated list of shell-style globs matching the device type, as exposed by
<command>networkctl status</command>. If the list is prefixed with a "!", the test is inverted.
<command>networkctl list</command>. If the list is prefixed with a "!", the test is inverted.
Some valid values are <literal>ether</literal>, <literal>loopback</literal>, <literal>wlan</literal>, <literal>wwan</literal>.
Valid types are named either from the udev <literal>DEVTYPE</literal> attribute, or
<literal>ARPHRD_</literal> macros in <filename>linux/if_arp.h</filename>, so this is not comprehensive.
</para>
</listitem>
</varlistentry>

View File

@ -1,5 +1,5 @@
[Match]
Type=wifi
Type=wlan
WLANInterfaceType=ad-hoc
[Network]

View File

@ -1,5 +1,5 @@
[Match]
Type=wifi
Type=wlan
WLANInterfaceType=ap
[Network]

View File

@ -1,5 +1,5 @@
[Match]
Type=wifi
Type=wlan
WLANInterfaceType=station
[Network]