olsr: use <pkg>_INSTALL_INIT_SYSV mechanism
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Acked-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
This commit is contained in:
parent
cbacf1cf2a
commit
1fde19209a
@ -31,9 +31,12 @@ define OLSR_INSTALL_TARGET_CMDS
|
||||
LDCONFIG=/bin/true DESTDIR=$(TARGET_DIR) \
|
||||
prefix="/usr" install ; \
|
||||
done
|
||||
$(INSTALL) -D -m 0755 package/olsr/S50olsr $(TARGET_DIR)/etc/init.d/S50olsr
|
||||
test -r $(TARGET_DIR)/etc/olsrd.conf || \
|
||||
$(INSTALL) -D -m 0644 $(@D)/files/olsrd.conf.default.lq $(TARGET_DIR)/etc/olsrd.conf
|
||||
endef
|
||||
|
||||
define OLSR_INSTALL_INIT_SYSV
|
||||
$(INSTALL) -D -m 0755 package/olsr/S50olsr $(TARGET_DIR)/etc/init.d/S50olsr
|
||||
endef
|
||||
|
||||
$(eval $(generic-package))
|
||||
|
Loading…
Reference in New Issue
Block a user