odhcp6c: install default state script
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
This commit is contained in:
parent
91374388d0
commit
899935b3e2
@ -9,4 +9,11 @@ ODHCP6C_SITE = $(call github,sbyx,odhcp6c,$(ODHCP6C_VERSION))
|
||||
ODHCP6C_LICENSE = GPLv2
|
||||
ODHCP6C_LICENSE_FILES = COPYING
|
||||
|
||||
define ODHCP6C_INSTALL_SCRIPT
|
||||
$(INSTALL) -m 0755 -D $(@D)/odhcp6c-example-script.sh \
|
||||
$(TARGET_DIR)/usr/sbin/odhcp6c-update
|
||||
endef
|
||||
|
||||
ODHCP6C_POST_INSTALL_TARGET_HOOKS += ODHCP6C_INSTALL_SCRIPT
|
||||
|
||||
$(eval $(cmake-package))
|
||||
|
Loading…
Reference in New Issue
Block a user