REO NB1 ecu not recognized #3351
This commit is contained in:
parent
109e371c6f
commit
254e7aca5e
|
@ -15,7 +15,7 @@ for f in *.ini; do if [[ -f "$f" ]]; then
|
||||||
sig=$(grep "^ *signature *=" $f | cut -f2 -d "=")
|
sig=$(grep "^ *signature *=" $f | cut -f2 -d "=")
|
||||||
if [ ! -z "$sig" -a "$sig" != " " ]; then
|
if [ ! -z "$sig" -a "$sig" != " " ]; then
|
||||||
echo "* found signature: $sig"
|
echo "* found signature: $sig"
|
||||||
if [[ "$sig" =~ rusEFI.*([0-9]{4})\.([0-9]{2})\.([0-9]{2})\.([a-zA-Z0-9_]+)\.([0-9]+) ]]; then
|
if [[ "$sig" =~ rusEFI.*([0-9]{4})\.([0-9]{2})\.([0-9]{2})\.([a-zA-Z0-9_-]+)\.([0-9]+) ]]; then
|
||||||
year=${BASH_REMATCH[1]}
|
year=${BASH_REMATCH[1]}
|
||||||
month=${BASH_REMATCH[2]}
|
month=${BASH_REMATCH[2]}
|
||||||
day=${BASH_REMATCH[3]}
|
day=${BASH_REMATCH[3]}
|
||||||
|
@ -41,6 +41,8 @@ for f in *.ini; do if [[ -f "$f" ]]; then
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
echo "* upload done!"
|
echo "* upload done!"
|
||||||
|
else
|
||||||
|
echo "Unexpected $sig"
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
fi; done
|
fi; done
|
||||||
|
|
Loading…
Reference in New Issue