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