Add mass-updater script.

This commit is contained in:
László Monda
2017-12-15 04:25:28 +01:00
parent 3967593c9c
commit ef0b0aa4ba

View File

@@ -0,0 +1,12 @@
#!/bin/bash
firmwarePath=$1
while true; do
read -n 1 char
if [[ $char == "a" ]]; then
./flash update-firmwares-and-configs.js "$firmwarePath" ansi
elif [[ $char == "i" ]]; then
./flash update-firmwares-and-configs.js "$firmwarePath" iso
fi
done