disable redirection of install_server_os.sh output using
process substitution and exec because it causes the script
to stall for ~8.5 minutes after the install has completed.
this feature can be renabled in the future if a resolution
or alternative redirection method is identified
Signed-off-by: davidplunkett <dp7642@att.com>
Change-Id: Iecf52c4b14019c83ef98d823e7c23ddcc61251ff
LOGDIR="/var/log/akraino"
mkdir -p $LOGDIR
LOGFILE="$LOGDIR/$(basename $0|cut -d. -f1)_$(date +'%FT%H-%M-%S%z')"
-echo "logging to $LOGFILE"
-exec 1> >(tee -a $LOGFILE)
-exec 2>&1
+#echo "logging to $LOGFILE"
+#exec 1> >(tee -a $LOGFILE)
+#exec 2>&1
echo "Beginning $0 as user [$USER] in pwd [$PWD] with home [$HOME]"
echo "Elapsed time was $(( ($ENDTIME - $STARTTIME) / 60 )) minutes and $(( ($ENDTIME - $STARTTIME) % 60 )) seconds"
## CLOSE REDIRECTED IO
-exec 2>&-
-exec 1>&-
+#exec 2>&-
+#exec 1>&-
exit 0