From 4cd0e107b1a900058c6717bf9fc45d055a691414 Mon Sep 17 00:00:00 2001 From: Jonathan Cave Date: Tue, 9 Aug 2022 14:09:55 +0100 Subject: Change: detect modem primary port using mmcli The control interface needed to be specified in the checkbox.conf to execute the gsm connection test. This is a minimal change to now pull that information from mmcli --- units/wwan/jobs.pxu | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'units/wwan') diff --git a/units/wwan/jobs.pxu b/units/wwan/jobs.pxu index 93f9c68..f651a42 100644 --- a/units/wwan/jobs.pxu +++ b/units/wwan/jobs.pxu @@ -37,7 +37,7 @@ _description: plugin: shell command: BEGIN_CONNECTION_TEST_TS=$(date '+%Y-%m-%d %H:%M:%S') - wwan_tests.py 3gpp-connection "$WWAN_CONTROL_IF" "$WWAN_NET_IF" "$WWAN_APN" "${{WWAN_SETUPTIME:-30}}" + wwan_tests.py 3gpp-connection {hw_id} "$WWAN_NET_IF" "$WWAN_APN" "${{WWAN_SETUPTIME:-30}}" RETVAL=$? if [ $RETVAL -ne 0 ]; then echo "==== Service units logs ====" -- cgit v1.2.3