* yann lopez <yann.lo...@gmail.com> [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
signature.asc
Description: Digital signature
_______________________________________________ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/mailman/listinfo/openwrt-devel