1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2025-04-21 12:27:27 +03:00

relayd: use an init script instead of a legacy network proto handler (fixes #11276)

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31542 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
nbd
2012-04-30 18:23:52 +00:00
parent e51f7c5d1b
commit 5bae60a024
4 changed files with 100 additions and 137 deletions

View File

@@ -35,8 +35,8 @@ define Package/relayd/install
$(INSTALL_BIN) $(PKG_BUILD_DIR)/relayd $(1)/usr/sbin/relayd
$(INSTALL_DIR) $(1)/etc/hotplug.d/iface
$(INSTALL_DATA) ./files/relay.hotplug $(1)/etc/hotplug.d/iface/30-relay
$(INSTALL_DIR) $(1)/lib/network
$(INSTALL_DATA) ./files/relay.sh $(1)/lib/network/relay.sh
$(INSTALL_DIR) $(1)/etc/init.d
$(INSTALL_BIN) ./files/relay.init $(1)/etc/init.d/relayd
endef
$(eval $(call BuildPackage,relayd))