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

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/package/comgt/files/3g.sh

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