This commit is contained in:
fujr 2024-11-01 01:54:57 +08:00
parent d458bf17dc
commit d3806bec9c
4 changed files with 8 additions and 5 deletions

View File

@ -144,7 +144,7 @@ msgid "Block Auto Probe/Remove"
msgstr "禁用自动加载/移除模组"
msgid "If enabled, the modem auto scan will be blocked."
msgstr "富国开启了,自动扫描模组服务会关闭"
msgstr "开启后自动扫描模组服务会关闭"
msgid "Enable PCIE Scan"
msgstr "启用PCIe模组扫描"
@ -472,6 +472,9 @@ msgstr "已启用"
msgid "DISABLED"
msgstr "已禁用"
msgid "TTL Config"
msgstr "TTL配置"
msgid "Default Alias"
msgstr "默认别名"

View File

@ -144,7 +144,7 @@ msgid "Block Auto Probe/Remove"
msgstr "禁用自动加载/移除模组"
msgid "If enabled, the modem auto scan will be blocked."
msgstr "富国开启了,自动扫描模组服务会关闭"
msgstr "开启后自动扫描模组服务会关闭"
msgid "Enable PCIE Scan"
msgstr "启用PCIe模组扫描"

View File

@ -144,7 +144,7 @@ msgid "Block Auto Probe/Remove"
msgstr "禁用自动加载/移除模组"
msgid "If enabled, the modem auto scan will be blocked."
msgstr "富国开启了,自动扫描模组服务会关闭"
msgstr "开启后自动扫描模组服务会关闭"
msgid "Enable PCIE Scan"
msgstr "启用PCIe模组扫描"

View File

@ -641,11 +641,11 @@ qmi_dial()
if [ -n "$modem_netcard" ]; then
qmi_if=$modem_netcard
#if is wwan* ,use the first part of the name
if [ "$modem_netcard" == "wwan"* ];then
if [[ "$modem_netcard" = "wwan"* ]];then
qmi_if=$(echo "$modem_netcard" | cut -d_ -f1)
fi
#if is rmnet* ,use the first part of the name
if [ "$modem_netcard" == "rmnet"* ];then
if [[ "$modem_netcard" = "rmnet"* ]];then
qmi_if=$(echo "$modem_netcard" | cut -d. -f1)
fi