Skip to content

Commit

Permalink
Correcting some issues
Browse files Browse the repository at this point in the history
  • Loading branch information
jgoerzen committed May 3, 2017
1 parent d0dfb8a commit 9324583
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 6 deletions.
2 changes: 0 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -17,5 +17,3 @@ RUN /tmp/setup/setup.sh && rm -r /tmp/setup
EXPOSE 5901 23
CMD ["/usr/bin/supervisord", "-n", "-c", "/etc/supervisor/supervisord.conf"]

VOLUME ["/dos/drive_g"]

7 changes: 3 additions & 4 deletions scripts/tcpsernodes
Original file line number Diff line number Diff line change
Expand Up @@ -10,14 +10,13 @@ if [ "$MAXNODE" -lt 1 ]; then
exit 1 # just to be sure
fi

CMDLINE="-s 115200 "
CMDLINE=""

for NODE in `seq 1 $MAXNODE`; do
NODEVPORT=$(($NODE + 7000))
NODEPPORT=$(($NODE + 8000))
CMDLINE="$CMDLINE -v $NODEVPORT -p $NODEPPORT"
CMDLINE="$CMDLINE -v $NODEVPORT -s 115200"
done

set -x
exec /usr/bin/tcpser $CMDLINE
exec /usr/bin/tcpser $CMDLINE -p 23

0 comments on commit 9324583

Please sign in to comment.