eqemu
diff RUN @ 11:2b559dc24c7b
done
author | John Tsiombikas <nuclear@member.fsf.org> |
---|---|
date | Fri, 18 Jul 2014 05:44:37 +0300 |
parents | |
children |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/RUN Fri Jul 18 05:44:37 2014 +0300 1.3 @@ -0,0 +1,13 @@ 1.4 +#!/bin/sh 1.5 + 1.6 +socat PTY,link=emuport PTY,link=/tmp/ttyeqemu & 1.7 +if [ $? != 0 ]; then 1.8 + echo "failed to create PTY pair" >&2 1.9 + exit 1 1.10 +fi 1.11 + 1.12 +echo 'starting equeue system emulator. connect to the /tmp/ttyeqemu fake serial port' 1.13 + 1.14 +./eqemu emuport 1.15 + 1.16 +kill %1 # kill socat