eqemu

annotate RUN @ 11:2b559dc24c7b

done
author John Tsiombikas <nuclear@member.fsf.org>
date Fri, 18 Jul 2014 05:44:37 +0300
parents
children
rev   line source
nuclear@11 1 #!/bin/sh
nuclear@11 2
nuclear@11 3 socat PTY,link=emuport PTY,link=/tmp/ttyeqemu &
nuclear@11 4 if [ $? != 0 ]; then
nuclear@11 5 echo "failed to create PTY pair" >&2
nuclear@11 6 exit 1
nuclear@11 7 fi
nuclear@11 8
nuclear@11 9 echo 'starting equeue system emulator. connect to the /tmp/ttyeqemu fake serial port'
nuclear@11 10
nuclear@11 11 ./eqemu emuport
nuclear@11 12
nuclear@11 13 kill %1 # kill socat