]> git.ipfire.org Git - ipfire-2.x.git/blobdiff - lfs/dhcpcd
captive: One month is only 30 days instead of 210
[ipfire-2.x.git] / lfs / dhcpcd
index e73d99c653f3f3f07cd77175949a8aeddec431c4..3b9a094ce17876d20449cbcf319831f682ebd4df 100644 (file)
@@ -85,7 +85,10 @@ $(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)
        @$(POSTBUILD)