diff --git a/luci/luci-app-qmodem/root/usr/share/qmodem/modem_scan.sh b/luci/luci-app-qmodem/root/usr/share/qmodem/modem_scan.sh index ea0ae6f..50ca3f5 100755 --- a/luci/luci-app-qmodem/root/usr/share/qmodem/modem_scan.sh +++ b/luci/luci-app-qmodem/root/usr/share/qmodem/modem_scan.sh @@ -126,7 +126,7 @@ scan_pcie_slot_interfaces() dun_devices="" [ ! -d "$slot_path" ] && return local short_slot_name=`echo ${slot:2:-2} |tr ":" "."` - local slot_interfaces=$(ls $slot_path | grep -E "_${short_slot_name}_") + local slot_interfaces=$(ls $slot_path | grep -E "_*${short_slot_name}_") for interface in $slot_interfaces; do unset device unset dun_device