sulu: 1.3.19

This commit is contained in:
vdutta 2022-12-15 12:53:36 +05:30
parent cf16fa7a6f
commit 2a8316d7a1
4 changed files with 10 additions and 10 deletions

View file

@ -5,7 +5,7 @@
include $(TOPDIR)/rules.mk
PKG_NAME:=sulu-builder
PKG_VERSION:=1.3.18
PKG_VERSION:=1.3.19
PKG_SOURCE_PROTO:=git
PKG_SOURCE_URL:=https://dev.iopsys.eu/websdk/sulu-builder.git

View file

@ -20,10 +20,10 @@ function _get_agent_id()
if [ -z "${endpointid}" ]; then
oui="$(db -q get device.deviceinfo.ManufacturerOUI)"
serial="$(db -q get device.deviceinfo.SerialNumber)"
echo "${oui}-${serial/+/%2B}"
echo "${oui}-${serial//+/%2B}"
else
endpointid="$(echo "${endpointid/::/,}"|cut -d "," -f 2)"
endpointid="${endpointid/+/%2B}"
endpointid="${endpointid//+/%2B}"
fi
}
@ -35,9 +35,9 @@ function _get_endpoint_id()
if [ -z "${endpointid}" ]; then
oui="$(db -q get device.deviceinfo.ManufacturerOUI)"
serial="$(db -q get device.deviceinfo.SerialNumber)"
echo "os::${oui}-${serial/+/%2B}"
echo "os::${oui}-${serial//+/%2B}"
else
echo "${endpointid/+/%2B}"
echo "${endpointid//+/%2B}"
fi
}

View file

@ -5,7 +5,7 @@
include $(TOPDIR)/rules.mk
PKG_NAME:=sulu
PKG_VERSION:=1.3.18
PKG_VERSION:=1.3.19
PKG_SOURCE_PROTO:=git
PKG_SOURCE_URL:=https://dev.iopsys.eu/websdk/sulu.git

View file

@ -20,10 +20,10 @@ function _get_agent_id()
if [ -z "${endpointid}" ]; then
oui="$(db -q get device.deviceinfo.ManufacturerOUI)"
serial="$(db -q get device.deviceinfo.SerialNumber)"
echo "${oui}-${serial/+/%2B}"
echo "${oui}-${serial//+/%2B}"
else
endpointid="$(echo "${endpointid/::/,}"|cut -d "," -f 2)"
endpointid="${endpointid/+/%2B}"
endpointid="${endpointid//+/%2B}"
fi
}
@ -35,9 +35,9 @@ function _get_endpoint_id()
if [ -z "${endpointid}" ]; then
oui="$(db -q get device.deviceinfo.ManufacturerOUI)"
serial="$(db -q get device.deviceinfo.SerialNumber)"
echo "os::${oui}-${serial/+/%2B}"
echo "os::${oui}-${serial//+/%2B}"
else
echo "${endpointid/+/%2B}"
echo "${endpointid//+/%2B}"
fi
}