diff --git a/scripts/start_socat.sh b/scripts/start_socat.sh
new file mode 100755
index 0000000000000000000000000000000000000000..3f8055311b5f9dd9efd1d279fcf93a3928629ff8
--- /dev/null
+++ b/scripts/start_socat.sh
@@ -0,0 +1,8 @@
+#!/bin/bash
+
+if [ ! -f "/tmp/$1_gazebo" ]; then
+  socat -d -d pty,raw,echo=0,link=/tmp/$1_gazebo pty,raw,echo=0,link=/tmp/$1_user &
+
+  while true; do sleep 2; done
+fi
+