diff options
author | DmitriyEshenko <dmitriy.eshenko@vyos.io> | 2021-03-17 14:44:26 +0000 |
---|---|---|
committer | DmitriyEshenko <dmitriy.eshenko@vyos.io> | 2021-03-17 14:44:26 +0000 |
commit | 029ec5adda27c3f1d50917d112fd1eba409d1187 (patch) | |
tree | 375a264e4e4cba860af77f13b9e4bc418a825a87 | |
parent | 7693ddab22ca076081f8c7413b5b5c41dbbbc5e4 (diff) | |
download | vyos-build-029ec5adda27c3f1d50917d112fd1eba409d1187.tar.gz vyos-build-029ec5adda27c3f1d50917d112fd1eba409d1187.zip |
systemd-udev: T3242: Add hook to prevent link_config redundancy call
-rwxr-xr-x | data/live-build-config/hooks/live/82-cleanup-udev-rules.chroot | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/data/live-build-config/hooks/live/82-cleanup-udev-rules.chroot b/data/live-build-config/hooks/live/82-cleanup-udev-rules.chroot new file mode 100755 index 00000000..a0173e49 --- /dev/null +++ b/data/live-build-config/hooks/live/82-cleanup-udev-rules.chroot @@ -0,0 +1,7 @@ +#!/bin/sh + +# 99-default.link rule always calls link_config that trying to set +# autonegotiation and duplex even for PPP interfaces. +# Need to delete this rule to prevent overhead on interface creation stage + +rm /lib/systemd/network/99-default.link |