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:
commit
8808d3289e
@ -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>
|
||||
|
@ -1,5 +1,5 @@
|
||||
[Match]
|
||||
Type=wifi
|
||||
Type=wlan
|
||||
WLANInterfaceType=ad-hoc
|
||||
|
||||
[Network]
|
||||
|
@ -1,5 +1,5 @@
|
||||
[Match]
|
||||
Type=wifi
|
||||
Type=wlan
|
||||
WLANInterfaceType=ap
|
||||
|
||||
[Network]
|
||||
|
@ -1,5 +1,5 @@
|
||||
[Match]
|
||||
Type=wifi
|
||||
Type=wlan
|
||||
WLANInterfaceType=station
|
||||
|
||||
[Network]
|
||||
|
Loading…
x
Reference in New Issue
Block a user