]> git.ipfire.org Git - thirdparty/systemd.git/commit
networkctl: add verb edit and cat to operate on network configs
authorMike Yuan <me@yhndnzj.com>
Sat, 1 Apr 2023 11:44:29 +0000 (19:44 +0800)
committerMike Yuan <me@yhndnzj.com>
Sun, 21 May 2023 07:48:57 +0000 (15:48 +0800)
commit96bab8fd63d29a8e3a905bb75167862fc0e5e0f1
tree8d7dcde73b369dfc66500f9540691f86a65b60fa
parent35c0e3444d7587e4e48d2590df78da682f7db0de
networkctl: add verb edit and cat to operate on network configs

This adds two verbs, edit and cat, to networkctl for
operating on network configs (namely .network, .netdev
and .link files). Specially, if the config name is
prefixed by @, it will be treated as network interface
name, and operations will be performed on config files
associated with the link.

Closes #26906
man/networkctl.xml
src/network/networkctl.c