Files
agent/packages/usb/update-loop-getkey.sh
2017-12-15 04:25:28 +01:00

13 lines
279 B
Bash
Executable File

#!/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