1 --- nxnode.old 2010-12-14 02:24:52.000000000 +0300
2 +++ nxnode 2010-12-15 01:40:27.000000000 +0300
8 +# wait timeout for start suspend
9 + sleep $NODE_START_MONITOR_WAIT_TIMEOUT
11 nxlog "$FUNCNAME ($$): staring"
12 if [ "$ENABLE_1_5_0_BACKEND" = "1" ]
15 if which "$NODE_AUTOSTART" >/dev/null 2>&1
17 # go into background immediately
18 - NXSESSIONID="$sess_id" DISPLAY=:$display "$NODE_AUTOSTART" "$1" >/dev/null 2>&1 &
19 + NXSESSIONID="$sess_id" DISPLAY=:$display cmd_node_autostart &
20 # dont't wait for this child!
23 @@ -1913,6 +1917,15 @@
24 nxlog "$FUNCNAME ($$): end"
30 +# wait to run node_autostart
31 + sleep $NODE_START_MONITOR_WAIT_TIMEOUT
32 + $NODE_AUTOSTART >/dev/null 2>&1 &
37 # -----------------------------------------------------------------------------
38 # cmd_node functions - changes lots of small variables