#!/bin/bash source config.sh function envoyer { msg=$1 echo $msg oscsend $IP_VIDEO $R_PORT $msg } envoyer "/play" sleep 15 envoyer "/pause"