projects
/
fso-scripts.git
/ commitdiff
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (from parent 1:
6a5a688
)
fso-auth.py: quit the loop after network registration
master
author
Antonio Ospite <ospite@studenti.unina.it>
Fri, 24 Sep 2010 09:32:21 +0000
(11:32 +0200)
committer
Antonio Ospite <ospite@studenti.unina.it>
Fri, 24 Sep 2010 09:32:21 +0000
(11:32 +0200)
fso-auth.py
patch
|
blob
|
history
diff --git
a/fso-auth.py
b/fso-auth.py
index
3b755e7
..
8998853
100755
(executable)
--- a/
fso-auth.py
+++ b/
fso-auth.py
@@
-16,6
+16,8
@@
def onDeviceStatus(status):
if status == "alive-sim-locked":
gsm_device_iface.SetFunctionality("full", True, pin)
elif status == "alive-sim-ready":
if status == "alive-sim-locked":
gsm_device_iface.SetFunctionality("full", True, pin)
elif status == "alive-sim-ready":
+ pass
+ elif status == "alive-registered":
loop.quit()
def fso_auth():
loop.quit()
def fso_auth():