# For the license, see the LICENSE file in the root directory. function wait_for_file() { local filename="$1" local timeout="$2" local loops=$((timeout * 10)) loop for ((loop=0; loop