diff options
Diffstat (limited to 'net/openthread-br')
-rw-r--r-- | net/openthread-br/Makefile | 3 | ||||
-rw-r--r-- | net/openthread-br/files/openthread-proto.sh | 1 |
2 files changed, 2 insertions, 2 deletions
diff --git a/net/openthread-br/Makefile b/net/openthread-br/Makefile index 1b42cceee..35c3b969d 100644 --- a/net/openthread-br/Makefile +++ b/net/openthread-br/Makefile @@ -96,8 +96,7 @@ define Package/openthread-br/install $(INSTALL_DIR) \ $(1)/etc/init.d \ $(1)/lib/netifd/proto \ - $(1)/usr/sbin \ - $(1)/var/lib/thread + $(1)/usr/sbin $(INSTALL_BIN) ./files/openthread-proto.sh $(1)/lib/netifd/proto/openthread.sh $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/sbin/* $(1)/usr/sbin endef diff --git a/net/openthread-br/files/openthread-proto.sh b/net/openthread-br/files/openthread-proto.sh index 928bafe71..360786aaf 100644 --- a/net/openthread-br/files/openthread-proto.sh +++ b/net/openthread-br/files/openthread-proto.sh @@ -88,6 +88,7 @@ proto_openthread_setup() { } json_for_each_item proto_openthread_add_prefix prefix + mkdir -p /var/lib/thread ubus call otbr threadstart || proto_openthread_setup_error "$interface" MISSING_UBUS_OBJ $OTCTL netdata register |