Skip to content

Commit

Permalink
Several fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
jgoerzen committed May 9, 2017
1 parent 708a1ba commit ee4660f
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 2 deletions.
3 changes: 3 additions & 0 deletions inetd.conf
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
23 stream tcp nowait root /usr/sbin/tcpd /usr/sbin/telnetd -a off -h --exec-login=/usr/local/bin/startnode


2 changes: 1 addition & 1 deletion scripts/startnode
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,6 @@ if [ -e /dos/nodeprephook.sh ]; then
. /dos/nodeprephook.sh
fi

echo "Welcome to node $FOUNDNODE. Please stand by while we connect you..."
printf "Welcome to node $FOUNDNODE. Please stand by while we connect you...\r\n"
exec startdossession $SESSNAME "H:\\STARTUP\\NODE$FOUNDNODE"

2 changes: 1 addition & 1 deletion supervisor/rawsocat.conf
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[program:rawsocat]
command=/usr/local/bin/waitfordaemon vncserver /usr/bin/socat TCP4-LISTEN:2023,reuseaddr,fork EXEC:"/usr/local/bin/startnode,pty"
command=/usr/local/bin/waitfordaemon vncserver /usr/bin/socat TCP4-LISTEN:23,reuseaddr,fork EXEC:"/usr/local/bin/startnode,pty"
priority=1
directory=/dos
environment=DISPLAY=":1"
Expand Down
9 changes: 9 additions & 0 deletions supervisor/telnetinetd.conf
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
[program:telnetinetd]
command=/usr/local/bin/waitfordaemon vncserver /usr/sbin/inetd -E -i -l
priority=1
directory=/dos
environment=DISPLAY=":1"
autostart=false
autorestart=true
startsecs=5
startretries=1000000

0 comments on commit ee4660f

Please sign in to comment.