diff --git a/firmware/tunerstudio/upload_ini.sh b/firmware/tunerstudio/upload_ini.sh index 4f34ab9283..a222ffa541 100755 --- a/firmware/tunerstudio/upload_ini.sh +++ b/firmware/tunerstudio/upload_ini.sh @@ -19,8 +19,13 @@ pwd echo -e "\nUploading .ini files" ls -l . -echo "Processing file $1:" -sig=$(grep "^ *signature *=" $1 | cut -f2 -d "=") +if [ "$1" = "all" ]; then + echo "Processing default 'all' file" + sig=$(grep "^ *signature *=" rusefi.ini | cut -f2 -d "=") +else + echo "Processing file $1:" + sig=$(grep "^ *signature *=" $1 | cut -f2 -d "=") +fi if [ ! -z "$sig" -a "$sig" != " " ]; then echo "* found signature: $sig" if [[ "$sig" =~ rusEFI.*([0-9]{4})\.([0-9]{2})\.([0-9]{2})\.([a-zA-Z0-9_-]+)\.([0-9]+) ]]; then