From 4a61fc96743b7a077e9f1838aa4d7633a4f17907 Mon Sep 17 00:00:00 2001 From: Vivek Dutta Date: Thu, 20 Nov 2025 20:24:55 +0530 Subject: [PATCH] netmode: 1.1.9 (cherry picked from commit 36928bdcb95a41609f7cc83e4ff8172e0f7a223a) Co-authored-by: Vivek Kumar Dutta --- netmode/Makefile | 2 +- netmode/files/lib/netmode/post/datamodel_init.sh | 13 +------------ 2 files changed, 2 insertions(+), 13 deletions(-) diff --git a/netmode/Makefile b/netmode/Makefile index 2ddc779f3..35257ff7b 100644 --- a/netmode/Makefile +++ b/netmode/Makefile @@ -8,7 +8,7 @@ include $(TOPDIR)/rules.mk PKG_NAME:=netmode -PKG_VERSION:=1.1.8 +PKG_VERSION:=1.1.9 PKG_RELEASE:=1 PKG_BUILD_DIR := $(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION) PKG_LICENSE:=GPL-2.0-only diff --git a/netmode/files/lib/netmode/post/datamodel_init.sh b/netmode/files/lib/netmode/post/datamodel_init.sh index c18512bd2..da7f91df5 100644 --- a/netmode/files/lib/netmode/post/datamodel_init.sh +++ b/netmode/files/lib/netmode/post/datamodel_init.sh @@ -7,15 +7,4 @@ if [ -d "/etc/bbfdm/dmmap/" ]; then rm -rf /etc/bbfdm/dmmap/* fi -# If device is booting up, no need to restart services -if [ ! -f /var/run/boot_complete ]; then - return 0 -fi - -if [ -x "/etc/init.d/bbfdm.services" ]; then - /etc/init.d/bbfdm.services restart -fi - -if [ -x "/etc/init.d/bbfdmd" ]; then - /etc/init.d/bbfdmd restart -fi +ubus -t 10 call bbfdm get '{"path":"Device."}' >/dev/null