]> git.ipfire.org Git - people/teissler/ipfire-2.x.git/blobdiff - lfs/dhcpcd
initrd: don't remove binary moduldeps.
[people/teissler/ipfire-2.x.git] / lfs / dhcpcd
index e843b9a75cb6ba864c4f458ba77eda77b14621f5..f7a8c361c6f5ce495d37f8368211ddd45c079fc2 100644 (file)
@@ -1,7 +1,7 @@
 ###############################################################################
 #                                                                             #
 # IPFire.org - A linux based firewall                                         #
-# Copyright (C) 2007  Michael Tremer & Christian Schmidt                      #
+# Copyright (C) 2012  IPFire Team  <info@ipfire.org>                          #
 #                                                                             #
 # This program is free software: you can redistribute it and/or modify        #
 # it under the terms of the GNU General Public License as published by        #
@@ -76,6 +76,7 @@ $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
                        --mandir=/usr/share/man --disable-nls
        cd $(DIR_APP) && make $(MAKETUNING)
        cd $(DIR_APP) && make install
+
        ln -sf /etc/rc.d/init.d/networking/dhcpcd.exe \
                $(CONFIG_ROOT)/dhcpc/dhcpcd-hooks/70-dhcpcd.exe
        rm -f $(CONFIG_ROOT)/dhcpc/dhcpcd-hooks/20-resolv.conf
@@ -84,5 +85,7 @@ $(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
+
        @rm -rf $(DIR_APP)
        @$(POSTBUILD)