mirror of
https://github.com/openwrt/routing.git
synced 2025-12-21 21:24:32 +04:00
batman: cleanup to match advanced version
git-svn-id: svn://svn.openwrt.org/openwrt/packages/net/batman@8290 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
9
Makefile
9
Makefile
@@ -45,11 +45,10 @@ MAKE_FLAGS += \
|
|||||||
batmand install
|
batmand install
|
||||||
|
|
||||||
define Package/batman/install
|
define Package/batman/install
|
||||||
$(INSTALL_DIR) $(1)/usr/sbin
|
$(INSTALL_DIR) $(1)/usr/sbin $(1)/etc/config $(1)/etc/init.d
|
||||||
$(CP) $(PKG_INSTALL_DIR)/usr/sbin/batmand $(1)/usr/sbin/
|
$(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/sbin/batmand $(1)/usr/sbin/
|
||||||
$(CP) -a ./files/* $(1)/
|
$(INSTALL_BIN) ./files/etc/init.d/batman $(1)/etc/init.d
|
||||||
chmod -R 755 $(1)/etc/init.d/batman
|
$(INSTALL_DATA) ./files/etc/config/batman $(1)/etc/config
|
||||||
endef
|
endef
|
||||||
|
|
||||||
|
|
||||||
$(eval $(call BuildPackage,batman))
|
$(eval $(call BuildPackage,batman))
|
||||||
|
|||||||
Reference in New Issue
Block a user