Add mass-updater script.
This commit is contained in:
12
packages/usb/update-loop-getkey.sh
Executable file
12
packages/usb/update-loop-getkey.sh
Executable 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
|
||||
Reference in New Issue
Block a user