diff options
author | Ivan Shapovalov <intelfx100@gmail.com> | 2013-02-12 13:39:09 +0100 |
---|---|---|
committer | Jouke Witteveen <j.witteveen@gmail.com> | 2013-02-14 22:28:43 +0100 |
commit | b0f92895e6c5ca54a6c8e9ed7ed6db2816d54d8a (patch) | |
tree | 58507b211f8c370035b8b2e3e7e0dff32368c4cf /src/ifplugd.action | |
parent | c5e26b20745037e1edda0288a4f08352c9097768 (diff) | |
download | netctl-b0f92895e6c5ca54a6c8e9ed7ed6db2816d54d8a.tar.gz netctl-b0f92895e6c5ca54a6c8e9ed7ed6db2816d54d8a.tar.xz |
Automatically escape dashes in interface names
Custom interface names like "eth-phone" or "eth-lte" are not uncommon,
and since they are used in pathes inside systemd units, dashes and unprintable
characters shall be escaped per unit file rules.
So replace "-" with "\x2d" in interface names.
Diffstat (limited to 'src/ifplugd.action')
0 files changed, 0 insertions, 0 deletions