#!/bin/sh set -eu export SERIAL_PORT=/dev/ttyUSB0 socat -d -d "UNIX:/srv/sockets/signer" "PTY,link=${SERIAL_PORT}" 2>&1 & sleep 1 echo " "/home/cacert/www/includes/mysql.php" cd /srv/CommModule/ touch client.pl-active exec perl -w client.pl