In my latest installation, it kept failing on the validation block:
if [ ${#sids[@]} -ne ${#serials[@]} ]; then
echo "Different number of SID/Serial"
echo "Found ${#sids[@]} SIDS"
echo "Found ${#serials[@]} S/N"
whiptail --msgbox "SBFspotUpload installation failed:\nDifferent number of SID/Serial" 0 0
return 1 # show PVO config menu
this block in turn gets the variable serials from: serials=($devserials)
the devserialsin turn is extracted form the $firstrun result of the BT device in this code:
Hi,
In my latest installation, it kept failing on the validation block:
this block in turn gets the variable
serials
from:serials=($devserials)
the
devserials
in turn is extracted form the$firstrun
result of the BT device in this code:However for my device, this results in an empty string, and fails install on the #SID VS #Serials check (finds 1 SID, and 0 Serials)
my output of the
$firstrun
is: (see bold line) and the serial is in this line between bracketsI circumvented the issue by downloading the script locally and hardcoding my serial (2100539921) in there, so no hurry for me anymore.. ;-)
cheers,
D