mirror of
https://gitlab.com/buildroot.org/buildroot.git
synced 2026-09-26 03:50:44 -09:00
odhcp6c: install default state script
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
This commit is contained in:
@@ -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))
|
||||
|
||||
Reference in New Issue
Block a user