pmaports/heimdall/heimdall_wait_for_device.sh
Oliver Smith 1c0ff6aa23 Put postmarketOS aports inside pmbootstrap repo
Later, the aports folder will probably get split up in its own repository.
But right now this is simply convenient.
2017-05-26 22:26:25 +02:00

7 lines
165 B
Bash

#!/bin/sh
# Simple wrapper, that makes heimdall behave more like fastboot
echo "< wait for any device >"
while ! heimdall detect > /dev/null 2>&1; do
sleep 1
done