[Networkmanager] Accessing connection.type in dispatcher scripts
Farblos
AKFKQU.9DF7RP at vodafonemail.de
Fri Apr 21 11:40:19 UTC 2023
Hi,
I'd like to use the connection type to distinguish "physical" (802-3-ethernet|802-11-wireless) connections from others in dispatcher scripts.
Is there anything more canonical then
type=$( nmcli -g connection.type connection show uuid $CONNECTION_UUID )
to determine the connection type in dispatcher scripts?
The environment does not seem to provide it, unfortunately.
Thanks!
More information about the Networkmanager
mailing list