#!/bin/bash lockfile-create "/tmp/voletVelux.lockfile" #curl "http://192.168.1.35/$1?speed=$2" #sleep $3 #curl "http://192.168.1.35/stop" curl "http://192.168.1.41/$1?time=$3" #sleep $3 #curl "http://192.168.1.40/stop" lockfile-remove "/tmp/voletVelux.lockfile"