14 lines
191 B
Text
14 lines
191 B
Text
|
#!/bin/sh
|
||
|
|
||
|
set -eu
|
||
|
|
||
|
socat -d -d UNIX:/srv/sockets/signer PTY,link=/dev/ttyS0 2>&1 &
|
||
|
sleep 1
|
||
|
|
||
|
export SERIAL_PORT=/dev/ttyS0
|
||
|
|
||
|
cd /srv/CommModule/
|
||
|
|
||
|
touch client.pl-active
|
||
|
exec perl -w client.pl
|