#!/bin/bash
host='rmt-olh'
declare -i delay='1'
until ping -c 1 -i "${delay}" -w "${delay}" "${host}" &> /dev/null
do
	sleep "$(( delay++ ))"
done
