diff options
author | smos <seth.mos@dds.nl> | 2012-05-20 14:48:54 +0200 |
---|---|---|
committer | smos <seth.mos@dds.nl> | 2012-05-20 14:48:54 +0200 |
commit | ffd2059b2a27fe9a43574f037bc352a869aa9788 (patch) | |
tree | da89944d52d1d7e714bd38743049e978de42c41c /usr/local/sbin | |
parent | 1cba5c587d585baa38a76cb789930e63c955e51c (diff) | |
download | pfsense-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.script | 4 |
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 |