openwrt/package/network/utils/comgt/files
Jakub Łabuz 2eb7e4bf61 comgt-ncm: fix modem manufacturer detection
Fix an issue where NCM interface initialization fails because of wrong
modem manufacturer detection.

gcom call returns an output with Windows-style line breaks (containing \r)
what makes awk call return empty or malformed manufacturer name. Changing
awk RS variable to handle both \n and \r\n as line break fixes this issue.

Fixes #17448 and #17998 GitHub issues.

Signed-off-by: Jakub Łabuz <jakub@labuz.dev>
Link: https://github.com/openwrt/openwrt/pull/18460
Signed-off-by: Robert Marko <robimarko@gmail.com>
2025-04-18 01:37:48 +02:00
..
3g.chat
…
3g.sh comgt: add quirk for Mikrotik modems based on Mikrotik R11e-LTE6 2023-03-29 17:29:02 +02:00
3g.usb
…
directip-stop.gcom
…
directip.gcom
…
directip.sh comgt: directip: add delegate option support 2024-09-22 23:43:08 +02:00
evdo.chat
…
getcardinfo.gcom
…
getcarrier.gcom
…
getcnum.gcom
…
getimsi.gcom
…
getstrength.gcom
…
ncm.json comgt-ncm: add support for UNISOC SL8563 based TOZED TL70-C 2023-05-18 14:44:07 +02:00
ncm.sh comgt-ncm: fix modem manufacturer detection 2025-04-18 01:37:48 +02:00
runcommand.gcom
…
setmode.gcom
…
setpin.gcom
…
ussd.gcom
…