mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-01 15:11:25 +00:00
d48a7a17df
Currently, nixos will allow for interface names with special characters such as the hyphen to be used. This presents a problem when using systemd device names as the namespace paths are separated using hyphens. Within systemd, if a device name has a hyphen it should be replaced with the escape sequence \x2d. This patch sanitizes all interface names before they are used in a systemd device string. |
||
---|---|---|
.. | ||
filesystems | ||
cpu-freq.nix | ||
encrypted-devices.nix | ||
filesystems.nix | ||
kbd.nix | ||
lvm.nix | ||
network-interfaces.nix | ||
scsi-link-power-management.nix | ||
swraid.nix | ||
trackpoint.nix | ||
tty-backgrounds-combine.sh |