eqemu
annotate RUN @ 12:2656099aff12
added copyright notices and license
author | John Tsiombikas <nuclear@member.fsf.org> |
---|---|
date | Fri, 18 Jul 2014 07:04:21 +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 |