summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2021-03-17 21:36:56 +0100
committerGitHub <noreply@github.com>2021-03-17 21:36:56 +0100
commit31db9ccbb9d2d2aa4ba18c885cad8f501d8012d0 (patch)
tree375a264e4e4cba860af77f13b9e4bc418a825a87
parent7693ddab22ca076081f8c7413b5b5c41dbbbc5e4 (diff)
parent029ec5adda27c3f1d50917d112fd1eba409d1187 (diff)
downloadvyos-build-31db9ccbb9d2d2aa4ba18c885cad8f501d8012d0.tar.gz
vyos-build-31db9ccbb9d2d2aa4ba18c885cad8f501d8012d0.zip
Merge pull request #152 from DmitriyEshenko/cur-build-17032021
systemd-udev: T3242: Add hook to prevent link_config redundancy call
-rwxr-xr-xdata/live-build-config/hooks/live/82-cleanup-udev-rules.chroot7
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