Changeset 167

Show
Ignore:
Timestamp:
07/17/08 15:12:04 (4 months ago)
Author:
ken
Message:

fixing bugs

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • Pyramid/dist/etc/init.d/cellular

    r165 r167  
    66  start) 
    77  ( 
    8     if [ -r /etc/cellmodem-id ] then 
     8    if [ -r /etc/cellmodem-id ]; then 
    99        echo "cell modem detected"  
    1010    else 
  • Pyramid/dist/etc/init.d/cellular-modules

    r165 r167  
    22 
    33IDFILE=/etc/cellmodem-id 
     4PROCUSB=/proc/bus/usb/devices 
    45 
    56 
     
    89        PRODUCTID=$2 
    910        CARDEXISTS="" 
     11 
     12  if [ -r $PROCUSB ]; then  
    1013 
    1114        exec < /proc/bus/usb/devices 
     
    2528                fi 
    2629        done 
     30 
     31   else 
     32        echo $PROCUSB" does not exist" 
     33   fi  
    2734 
    2835} 
     
    4855#if we have made it this far and card not detected remove any existing ID files 
    4956 
    50 if [ -r $IDFILE ] then 
     57if [ -r $IDFILE ]; then 
    5158        rm $IDFILE 
    5259fi