pmaports/heimdall/heimdall_wait_for_device.sh

8 lines
165 B
Bash
Raw Normal View History

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