Make signer and signer_client work with minimal changes
This commit is contained in:
parent
5c924ee206
commit
0857806acf
3 changed files with 8 additions and 4 deletions
|
@ -2,10 +2,12 @@
|
|||
|
||||
set -eu
|
||||
|
||||
socat -d -d UNIX:/srv/sockets/signer PTY,link=/dev/ttyS0 2>&1 &
|
||||
export SERIAL_PORT=/dev/ttyUSB0
|
||||
|
||||
socat -d -d "UNIX:/srv/sockets/signer" "PTY,link=${SERIAL_PORT}" 2>&1 &
|
||||
sleep 1
|
||||
|
||||
export SERIAL_PORT=/dev/ttyS0
|
||||
echo "<?php mysql_connect(\"${MYSQL_WEBDB_HOSTNAME}\", \"${MYSQL_WEBDB_USER}\", \"${MYSQL_WEBDB_PASSWORD}\");" > "/home/cacert/www/includes/mysql.php"
|
||||
|
||||
cd /srv/CommModule/
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue