summaryrefslogtreecommitdiffstats
path: root/usr/local/sbin
diff options
context:
space:
mode:
authorsmos <seth.mos@dds.nl>2012-05-20 14:48:54 +0200
committersmos <seth.mos@dds.nl>2012-05-20 14:48:54 +0200
commitffd2059b2a27fe9a43574f037bc352a869aa9788 (patch)
treeda89944d52d1d7e714bd38743049e978de42c41c /usr/local/sbin
parent1cba5c587d585baa38a76cb789930e63c955e51c (diff)
downloadpfsense-ffd2059b2a27fe9a43574f037bc352a869aa9788.zip
pfsense-ffd2059b2a27fe9a43574f037bc352a869aa9788.tar.gz
This command works better with Huawei modems. Needs more testing
Diffstat (limited to 'usr/local/sbin')
-rw-r--r--usr/local/sbin/mpd.script4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr/local/sbin/mpd.script b/usr/local/sbin/mpd.script
index f69ac4b..a7e62dc 100644
--- a/usr/local/sbin/mpd.script
+++ b/usr/local/sbin/mpd.script
@@ -101,11 +101,11 @@ DialPeer3:
success
DialPeerSetPin:
- set $modemCmd "+CPIN=?"
+ set $modemCmd "+CPIN?"
log $modemCmd
call ModemQuery
log $modemQuery
- if $modemQuery match ".*READY.*" PinReady
+ if $modemQuery match ".*READY.*" return
set $modemCmd "+CPIN=\"$SimPin\""
call ModemCmd2
wait $PinWait
OpenPOWER on IntegriCloud