mirror of
				git://git.openwrt.org/openwrt/openwrt.git
				synced 2025-11-04 06:54:27 -05:00 
			
		
		
		
	Fix dhcp-forwarder build, move init-script to ./files/
SVN-Revision: 909
This commit is contained in:
		
							parent
							
								
									b117fe7e03
								
							
						
					
					
						commit
						611adf9b7a
					
				@ -74,7 +74,7 @@ package-$(BR2_PACKAGE_USBUTILS) += usbutils
 | 
				
			|||||||
package-$(BR2_PACKAGE_WIRELESS_TOOLS) += wireless-tools
 | 
					package-$(BR2_PACKAGE_WIRELESS_TOOLS) += wireless-tools
 | 
				
			||||||
package-$(BR2_PACKAGE_WOL) += wol
 | 
					package-$(BR2_PACKAGE_WOL) += wol
 | 
				
			||||||
package-$(BR2_PACKAGE_ZLIB) += zlib
 | 
					package-$(BR2_PACKAGE_ZLIB) += zlib
 | 
				
			||||||
package-$(BR2_PACKAGE_DHCPFWD) += dhcp-forwarder
 | 
					package-$(BR2_PACKAGE_DHCP_FORWARDER) += dhcp-forwarder
 | 
				
			||||||
package-$(BR2_PACKAGE_LIBGD) += libgd
 | 
					package-$(BR2_PACKAGE_LIBGD) += libgd
 | 
				
			||||||
package-$(BR2_PACKAGE_LIBNET) += libnet
 | 
					package-$(BR2_PACKAGE_LIBNET) += libnet
 | 
				
			||||||
package-$(BR2_PACKAGE_LIBMYSQLCLIENT) += mysql
 | 
					package-$(BR2_PACKAGE_LIBMYSQLCLIENT) += mysql
 | 
				
			||||||
 | 
				
			|||||||
@ -1,5 +1,5 @@
 | 
				
			|||||||
config BR2_PACKAGE_DHCP_FORWARDER
 | 
					config BR2_PACKAGE_DHCP_FORWARDER
 | 
				
			||||||
	tristate "dhcp-forwarder (a DHCP relay agent)"
 | 
						tristate "dhcp-forwarder - a DHCP relay agent"
 | 
				
			||||||
	default m if CONFIG_DEVEL
 | 
						default m if CONFIG_DEVEL
 | 
				
			||||||
	help
 | 
						help
 | 
				
			||||||
	  A DHCP relay agent
 | 
						  A DHCP relay agent
 | 
				
			||||||
 | 
				
			|||||||
@ -56,10 +56,10 @@ $(PKG_BUILD_DIR)/.built:
 | 
				
			|||||||
	touch $(PKG_BUILD_DIR)/.built
 | 
						touch $(PKG_BUILD_DIR)/.built
 | 
				
			||||||
	
 | 
						
 | 
				
			||||||
$(IPKG_DHCP_FORWARDER):
 | 
					$(IPKG_DHCP_FORWARDER):
 | 
				
			||||||
	install -m0755 -d $(IDIR_DHCP_FORWARDER)/etc/init.d
 | 
					 | 
				
			||||||
	install -m0755 ./ipkg/$(PKG_NAME).init $(IDIR_DHCP_FORWARDER)/etc/init.d/dhcp-fwd
 | 
					 | 
				
			||||||
	install -m0755 -d $(IDIR_DHCP_FORWARDER)/etc
 | 
						install -m0755 -d $(IDIR_DHCP_FORWARDER)/etc
 | 
				
			||||||
	install -m0644 $(PKG_BUILD_DIR)/contrib/dhcp-fwd.conf $(IDIR_DHCP_FORWARDER)/etc/
 | 
						install -m0644 $(PKG_BUILD_DIR)/contrib/dhcp-fwd.conf $(IDIR_DHCP_FORWARDER)/etc/
 | 
				
			||||||
 | 
						install -m0755 -d $(IDIR_DHCP_FORWARDER)/etc/init.d
 | 
				
			||||||
 | 
						install -m0755 ./files/dhcp-fwd.init $(IDIR_DHCP_FORWARDER)/etc/init.d/dhcp-fwd
 | 
				
			||||||
	install -m0755 -d $(IDIR_DHCP_FORWARDER)/usr/bin
 | 
						install -m0755 -d $(IDIR_DHCP_FORWARDER)/usr/bin
 | 
				
			||||||
	cp -fpR $(PKG_INSTALL_DIR)/usr/sbin/dhcp-fwd $(IDIR_DHCP_FORWARDER)/usr/bin/
 | 
						cp -fpR $(PKG_INSTALL_DIR)/usr/sbin/dhcp-fwd $(IDIR_DHCP_FORWARDER)/usr/bin/
 | 
				
			||||||
	$(RSTRIP) $(IDIR_DHCP_FORWARDER)
 | 
						$(RSTRIP) $(IDIR_DHCP_FORWARDER)
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
		Reference in New Issue
	
	Block a user