|
|
@@ -71,7 +71,7 @@ perform_post_connect_checkin()
|
|
|
# Send these gathered data to the update daemon. The leading '#' tells the server that this is a
|
|
|
# checkin, not an update request.
|
|
|
#
|
|
|
- echo -e "#$busunitnum\t$equipnum\t$mac\t$imei\t$imsi\t$version" | nc localhost $UPDATE_DAEMON_PORT
|
|
|
+ echo -e "#$busunitnum\t$equipnum\t$mac\t$imei\t$imsi\t$version" | nc -q1 localhost $UPDATE_DAEMON_PORT
|
|
|
}
|
|
|
|
|
|
# This function generates the server->client port forwards to allow a sysadmin to log into any unit that is on
|
|
|
@@ -213,6 +213,7 @@ while true; do
|
|
|
perform_post_connect_checkin
|
|
|
|
|
|
debug_print "Touching dropfile and waiting for SSH to terminate..."
|
|
|
+
|
|
|
# Touch our dropfile indicating the tunnel is up...
|
|
|
#
|
|
|
/bin/touch $TUNNEL_DROPFILE
|