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