modemmanager: enable log file

Instead of redirecting the MM logging to '/dev/null' use a file, so we
can see what's going on in case of failure.

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
This commit is contained in:
Javier Viguera 2017-04-19 14:17:03 +02:00
parent 3de76b2eae
commit 68df122989
1 changed files with 1 additions and 1 deletions

View File

@ -8,7 +8,7 @@ POLLING_WAIT=5
background_connect() {
# Ensure ModemManager is running
killall -0 ModemManager 2>/dev/null || ModemManager --log-file=/dev/null &
killall -0 ModemManager 2>/dev/null || ModemManager --log-file=/var/log/modemmanager.log &
# Wait for modem detection
while [ "${RETRIES}" -gt "0" ]; do