Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(124)

Side by Side Diff: test/mm.sh

Issue 6294001: Added support for GSM in the modemmgr plugin. (Closed) Base URL: ssh://git@gitrw.chromium.org:9222/flimflam.git@master
Patch Set: Created 9 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« src/service.c ('K') | « src/service.c ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 #!/bin/dash 1 #!/bin/dash
2 2
3 IDBUS=org.freedesktop.DBus 3 IDBUS=org.freedesktop.DBus
4 DBUS=/org/freedesktop/DBus 4 DBUS=/org/freedesktop/DBus
5 IDBUS_PROPERTIES=$IDBUS.Properties 5 IDBUS_PROPERTIES=$IDBUS.Properties
6 IMM=org.freedesktop.ModemManager 6 IMM=org.freedesktop.ModemManager
7 IMODEM=$IMM.Modem 7 IMODEM=$IMM.Modem
8 IMODEM_SIMPLE=$IMODEM.Simple 8 IMODEM_SIMPLE=$IMODEM.Simple
9 IMODEM_CDMA=$IMODEM.Cdma 9 IMODEM_CDMA=$IMODEM.Cdma
10 IMODEM_GSM=$IMODEM.Gsm 10 IMODEM_GSM=$IMODEM.Gsm
11 IMODEM_GSM_CARD=$IMODEM_GSM.Card 11 IMODEM_GSM_CARD=$IMODEM_GSM.Card
12 IMODEM_GSM_NETWORK=$IMODEM_GSM.Network 12 IMODEM_GSM_NETWORK=$IMODEM_GSM.Network
13 IMODEM_GOBI=org.chromium.ModemManager.Modem.Gobi 13 IMODEM_GOBI=org.chromium.ModemManager.Modem.Gobi
14 IMODEMS="$IMODEM $IMODEM_SIMPLE $IMODEM_CDMA $IMODEM_GSM $IMODEM_GOBI" 14 IMODEMS="$IMODEM $IMODEM_CDMA $IMODEM_GSM_CARD $IMODEM_GSM_NETWORK $IMODEM_GOBI"
15 DEST=`echo $MM | sed -e 's!^/!!g' -e 's!/!.!g'`
Jason Glasgow 2011/01/13 07:11:08 Am I missing something? Why is DEST added?
Eric Shienbrood 2011/01/13 07:23:33 When I changed the IMODEMS= line, I first did it i
15 16
16 MTYPE_GSM=1 17 MTYPE_GSM=1
17 MTYPE_CDMA=2 18 MTYPE_CDMA=2
18 19
19 iface2rootobj () { 20 iface2rootobj () {
20 echo "/$1" | sed -e 's!\.!/!g' 21 echo "/$1" | sed -e 's!\.!/!g'
21 } 22 }
22 23
23 dbus () { 24 dbus () {
24 local dest=$1 25 local dest=$1
(...skipping 22 matching lines...) Expand all
47 | awk '/[^[:space:]] [^[:space:]]/ {print $N}' 48 | awk '/[^[:space:]] [^[:space:]]/ {print $N}'
48 done 49 done
49 } 50 }
50 51
51 modemprop () { 52 modemprop () {
52 local mm=$1 53 local mm=$1
53 local modem=$2 54 local modem=$2
54 local prop=$3 55 local prop=$3
55 modemprops $mm $modem | grep /$prop | awk '{print $2}' 56 modemprops $mm $modem | grep /$prop | awk '{print $2}'
56 } 57 }
OLDNEW
« src/service.c ('K') | « src/service.c ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698