summaryrefslogtreecommitdiff
path: root/example-scripts/control-server/demo-cycle-modes.sh
diff options
context:
space:
mode:
Diffstat (limited to 'example-scripts/control-server/demo-cycle-modes.sh')
-rwxr-xr-xexample-scripts/control-server/demo-cycle-modes.sh3
1 files changed, 3 insertions, 0 deletions
diff --git a/example-scripts/control-server/demo-cycle-modes.sh b/example-scripts/control-server/demo-cycle-modes.sh
index b626b28..7440cf1 100755
--- a/example-scripts/control-server/demo-cycle-modes.sh
+++ b/example-scripts/control-server/demo-cycle-modes.sh
@@ -1,3 +1,6 @@
+#!/bin/bash
+cd "$(dirname ${BASH_SOURCE[0]})"
+
while true; do
sleep 10
echo "composite-picture-in-picture"