#!/bin/bash source ${HOME}/bin/rdp_env sleep 2 touch "${LOOP_FILE}" while [ -f "$LOOP_FILE" ] do xfreerdp /v:${RDPHOST} ${RDP_OPTS} ${RDP_USER} done