Just to clarify by my experience on Huawei GPRS=GPRS/EDGE :-)


On 6.05.2010 12:39, Bastian Bittorf wrote:
* yann lopez<[email protected]>  [06.05.2010 11:20]:

Let me know, if you'd like to commit it.
+               elif echo "$cardinfo" | grep huawei; then

please use 'echo xy | grep -q huawei'

or better define

is_huawei ()
{
         local CARDINFO="$1"

         case "$CARDINFO" in
                  *huawei*) return 0 ;;
                         *) return 1 ;;
         esac
}

and

elif is_huawei; then
         ...



bye, Bastian


_______________________________________________
openwrt-devel mailing list
[email protected]
https://lists.openwrt.org/mailman/listinfo/openwrt-devel

_______________________________________________
openwrt-devel mailing list
[email protected]
https://lists.openwrt.org/mailman/listinfo/openwrt-devel

Reply via email to