netmode: 1.1.4

This commit is contained in:
Vivek Kumar Dutta 2025-05-28 12:36:43 +05:30
parent db626422dc
commit c57b0322b0
No known key found for this signature in database
GPG key ID: 4E09F5AD8265FD4C
2 changed files with 6 additions and 1 deletions

View file

@ -8,7 +8,7 @@
include $(TOPDIR)/rules.mk include $(TOPDIR)/rules.mk
PKG_NAME:=netmode PKG_NAME:=netmode
PKG_VERSION:=1.1.3 PKG_VERSION:=1.1.4
PKG_RELEASE:=1 PKG_RELEASE:=1
PKG_BUILD_DIR := $(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION) PKG_BUILD_DIR := $(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
PKG_LICENSE:=GPL-2.0-only PKG_LICENSE:=GPL-2.0-only

View file

@ -7,6 +7,11 @@ if [ -d "/etc/bbfdm/dmmap/" ]; then
rm -rf /etc/bbfdm/dmmap/* rm -rf /etc/bbfdm/dmmap/*
fi 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 if [ -x "/etc/init.d/bbfdm.services" ]; then
/etc/init.d/bbfdm.services restart /etc/init.d/bbfdm.services restart
fi fi