|
|
@@ -82,7 +82,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
|
|
|
@@ -196,10 +196,6 @@ while true; do
|
|
|
#
|
|
|
/usr/bin/pon gprs
|
|
|
|
|
|
- # Give the modem a minute to do its thing...
|
|
|
- #
|
|
|
- /usr/bin/pon gprs
|
|
|
-
|
|
|
# Give the modem a minute to do its thing...
|
|
|
#
|
|
|
/bin/sleep $SLEEP_AFTER_DIAL
|