mirror of
https://dev.iopsys.eu/feed/iopsys.git
synced 2025-12-10 07:44:50 +01:00
self-diagnostics: 1.0.12
- Fix saving model and serial number for report filename
Fixes: b0049df366 ("self-diagnostics: 1.0.10")
This commit is contained in:
parent
c0cfca286e
commit
81b5ade110
2 changed files with 3 additions and 3 deletions
|
|
@ -1,7 +1,7 @@
|
|||
include $(TOPDIR)/rules.mk
|
||||
|
||||
PKG_NAME:=self-diagnostics
|
||||
PKG_VERSION:=1.0.11
|
||||
PKG_VERSION:=1.0.12
|
||||
PKG_RELEASE:=1
|
||||
|
||||
PKG_LICENSE:=GPL-2.0-only
|
||||
|
|
|
|||
|
|
@ -84,11 +84,11 @@ config_load()
|
|||
fi
|
||||
|
||||
temp="$(db -q get device.deviceinfo.ModelName)"
|
||||
[ -d "${temp}" ] && \
|
||||
[ -n "${temp}" ] && \
|
||||
MODEL="${temp}"
|
||||
|
||||
temp="$(db -q get device.deviceinfo.SerialNumber)"
|
||||
[ -d "${temp}" ] && \
|
||||
[ -n "${temp}" ] && \
|
||||
SERIAL="${temp}"
|
||||
|
||||
temp="$(uci -q get self-diagnostics.globals.extended_spec_dir)"
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue