From 9114998d1f3edf62b6a0c54c8295f1cc2631c7fa Mon Sep 17 00:00:00 2001 From: Igor Socec Date: Thu, 3 Apr 2014 14:49:45 +0200 Subject: [PATCH] removed tty mapping from moxanix script --- moxanix.sh | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/moxanix.sh b/moxanix.sh index 16c2345..0a78a74 100755 --- a/moxanix.sh +++ b/moxanix.sh @@ -26,7 +26,6 @@ start () # set variables TCP_PORT=$((4000 + $ID)) - TTY_PATH="/dev/ttyS$ID" # check if requested server is already up pid=$(ps axf | grep "[m]oxerver -p $TCP_PORT" | awk '{print $1}') @@ -47,7 +46,7 @@ start () # start server, redirect stdout and stderr to logfile # nohup keeps it running when the script ends - nohup $SERVER_RUN -p $TCP_PORT -t $TTY_PATH > $LOGFILE 2>&1 & + nohup $SERVER_RUN -p $TCP_PORT > $LOGFILE 2>&1 & echo "server $ID started" }