Changeset 22562 for branches/backfire


Ignore:
Timestamp:
2010-08-09T18:59:28+02:00 (6 years ago)
Author:
nico
Message:

[backfire] merge r22561

package/comgt: only set pincode if it's supplied (closes: #7334), bump release number

Location:
branches/backfire/package/comgt
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/backfire/package/comgt/Makefile

    r21575 r22562  
    11# 
    2 # Copyright (C) 2006 OpenWrt.org 
     2# Copyright (C) 2006-2010 OpenWrt.org 
    33# 
    44# This is free software, licensed under the GNU General Public License v2. 
     
    1010PKG_NAME:=comgt 
    1111PKG_VERSION:=0.32 
    12 PKG_RELEASE:=3 
     12PKG_RELEASE:=4 
    1313 
    1414PKG_SOURCE:=$(PKG_NAME).$(PKG_VERSION).tgz 
  • branches/backfire/package/comgt/files/3g.sh

    r21564 r22562  
    9292                # Don't assume Option to be default as it breaks with Huawei Cards/Sticks 
    9393 
    94                 PINCODE="$pincode" gcom -d "$device" -s /etc/gcom/setpin.gcom || { 
    95                         echo "$config(3g): Failed to set the PIN code." 
    96                         set_3g_led 0 0 0 
    97                         return 1 
     94                test -z "$pincode" || { 
     95                        PINCODE="$pincode" gcom -d "$device" -s /etc/gcom/setpin.gcom || { 
     96                                echo "$config(3g): Failed to set the PIN code." 
     97                                set_3g_led 0 0 0 
     98                                return 1 
     99                        } 
    98100                } 
    99101                test -z "$mode" || { 
Note: See TracChangeset for help on using the changeset viewer.