mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-27 19:23:24 +02:00
dhcpcd: rework mtu handling on buggy nic's
some nic's loose the carrier after setting new mtu. Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
This commit is contained in:
@@ -85,9 +85,9 @@ $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
|
||||
rm -f $(CONFIG_ROOT)/dhcpc/dhcpcd-hooks/50-yp.conf
|
||||
rm -f $(CONFIG_ROOT)/dhcpc/dhcpcd-hooks/50-ypbind
|
||||
|
||||
sed -i -e "s|-ge 576|-gt 576|g" $(CONFIG_ROOT)/dhcpc/dhcpcd-hooks/10-mtu
|
||||
|
||||
install -m 644 $(DIR_SRC)/config/dhcpc/dhcpcd.conf $(CONFIG_ROOT)/dhcpc/
|
||||
install -m 444 $(DIR_SRC)/config/dhcpc/dhcpcd-hooks/10-mtu $(CONFIG_ROOT)/dhcpc/dhcpcd-hooks
|
||||
|
||||
chown root:root $(CONFIG_ROOT)/dhcpc/dhcpcd.conf
|
||||
|
||||
@rm -rf $(DIR_APP)
|
||||
|
||||
Reference in New Issue
Block a user