initial(old rep had backup files)

This commit is contained in:
Andrey Egorov
2025-08-08 19:45:10 +03:00
commit bd4d56d3af
16 changed files with 39805 additions and 0 deletions

13
set_params.sh Executable file
View File

@ -0,0 +1,13 @@
if [[ $1 == "" ]]; then
echo "No template file specified"
fi
if [[ $2 == "" ]]; then
echo "No serial specified"
fi
if [[ $3 == "" ]]; then
echo "No reg number specified"
fi
cat $1 | sed "s/<DEVICE_SERIAL>/$2/" | sed "s/<REGISTRATION_NUMBER>/$3/" > ready_params.json
./req.sh set-device-params ready_params.json