mirror of
https://dev.iopsys.eu/feed/iopsys.git
synced 2025-12-10 07:44:50 +01:00
tr143: init/clean modules from DownloadDiagnostics test
This commit is contained in:
parent
b8f99bbe64
commit
0379e816c5
2 changed files with 2 additions and 29 deletions
|
|
@ -5,13 +5,13 @@
|
|||
include $(TOPDIR)/rules.mk
|
||||
|
||||
PKG_NAME:=tr143
|
||||
PKG_VERSION:=1.1.2
|
||||
PKG_VERSION:=1.1.3
|
||||
|
||||
LOCAL_DEV:=0
|
||||
ifneq ($(LOCAL_DEV),1)
|
||||
PKG_SOURCE_PROTO:=git
|
||||
PKG_SOURCE_URL:=https://dev.iopsys.eu/bbf/tr143d.git
|
||||
PKG_SOURCE_VERSION:=26aa03b19add5c36eba2ab2e386808ed8f2209f7
|
||||
PKG_SOURCE_VERSION:=33ad5cb86a09800510eb7faefc3edf30b56be41a
|
||||
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION)-$(PKG_SOURCE_VERSION).tar.gz
|
||||
PKG_MIRROR_HASH:=skip
|
||||
endif
|
||||
|
|
@ -39,8 +39,6 @@ define Package/tr143/install
|
|||
$(BBFDM_INSTALL_MS_PLUGIN) $(PKG_BUILD_DIR)/src/libtr143d.so $(1) netmngr 11
|
||||
|
||||
ifeq ($(CONFIG_TARGET_SUBTARGET),"an7581")
|
||||
$(INSTALL_DIR) $(1)/etc/init.d
|
||||
$(INSTALL_BIN) ./airoha/etc/init.d/tr143 $(1)/etc/init.d/tr143
|
||||
$(BBFDM_INSTALL_SCRIPT) $(PKG_BUILD_DIR)/airoha/scripts/download $(1)
|
||||
else
|
||||
$(BBFDM_INSTALL_SCRIPT) $(PKG_BUILD_DIR)/scripts/download $(1)
|
||||
|
|
|
|||
|
|
@ -1,25 +0,0 @@
|
|||
#!/bin/sh /etc/rc.common
|
||||
|
||||
START=18
|
||||
|
||||
boot() {
|
||||
if ! lsmod | grep -qe "^arht_timer "; then
|
||||
status="-1"
|
||||
if [ -f /lib/modules/5.4.55/arht_timer.ko ]; then
|
||||
insmod /lib/modules/5.4.55/arht_timer.ko
|
||||
status="$?"
|
||||
fi
|
||||
|
||||
if [ "${status}" -ne 0 ]; then
|
||||
return 0
|
||||
fi
|
||||
fi
|
||||
|
||||
if ! lsmod | grep -qe "^speedtest "; then
|
||||
if [ -f /lib/modules/5.4.55/speedtest.ko ]; then
|
||||
insmod /lib/modules/5.4.55/speedtest.ko
|
||||
fi
|
||||
fi
|
||||
|
||||
return 0
|
||||
}
|
||||
Loading…
Add table
Reference in a new issue