mirror of
https://dev.iopsys.eu/feed/iopsys.git
synced 2025-12-10 07:44:50 +01:00
obuspa: Fix full_access assignment
This commit is contained in:
parent
60b21cb3ce
commit
2aa49112f3
2 changed files with 11 additions and 1 deletions
|
|
@ -5,7 +5,7 @@
|
|||
include $(TOPDIR)/rules.mk
|
||||
|
||||
PKG_NAME:=obuspa
|
||||
PKG_VERSION:=9.0.4.9
|
||||
PKG_VERSION:=9.0.4.10
|
||||
|
||||
LOCAL_DEV:=0
|
||||
ifneq ($(LOCAL_DEV),1)
|
||||
|
|
|
|||
|
|
@ -290,6 +290,16 @@ get_role_index()
|
|||
return 0
|
||||
fi
|
||||
|
||||
if [ "${name}" = "full_access" ] || [ "${name}" = "Full Access" ]; then
|
||||
echo "Device.LocalAgent.ControllerTrust.Role.1"
|
||||
return 0
|
||||
fi
|
||||
|
||||
if [ "${name}" = "Untrusted" ]; then
|
||||
echo "Device.LocalAgent.ControllerTrust.Role.1"
|
||||
return 0
|
||||
fi
|
||||
|
||||
# Get if from CTRUST file first if present, then from dbdump and then use default Untrusted role
|
||||
if [ -f "${CTRUST_RESET_FILE}" ]; then
|
||||
val="$(grep "Device.LocalAgent.ControllerTrust.Role.\d.Name" ${CTRUST_RESET_FILE} |grep $name)"
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue