diff --git a/luci/luci-app-qmodem/po/template/qmodem.po b/luci/luci-app-qmodem/po/template/qmodem.po index 1292deb..98a74b7 100644 --- a/luci/luci-app-qmodem/po/template/qmodem.po +++ b/luci/luci-app-qmodem/po/template/qmodem.po @@ -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 "默认别名" diff --git a/luci/luci-app-qmodem/po/zh-cn/qmodem.po b/luci/luci-app-qmodem/po/zh-cn/qmodem.po index 70747ac..98a74b7 100644 --- a/luci/luci-app-qmodem/po/zh-cn/qmodem.po +++ b/luci/luci-app-qmodem/po/zh-cn/qmodem.po @@ -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模组扫描" diff --git a/luci/luci-app-qmodem/po/zh_Hans/qmodem.po b/luci/luci-app-qmodem/po/zh_Hans/qmodem.po index 70747ac..98a74b7 100644 --- a/luci/luci-app-qmodem/po/zh_Hans/qmodem.po +++ b/luci/luci-app-qmodem/po/zh_Hans/qmodem.po @@ -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模组扫描" diff --git a/luci/luci-app-qmodem/root/usr/share/qmodem/modem_dial.sh b/luci/luci-app-qmodem/root/usr/share/qmodem/modem_dial.sh index ecb03a9..8f3efca 100755 --- a/luci/luci-app-qmodem/root/usr/share/qmodem/modem_dial.sh +++ b/luci/luci-app-qmodem/root/usr/share/qmodem/modem_dial.sh @@ -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