summaryrefslogtreecommitdiffstats
path: root/usr
diff options
context:
space:
mode:
authorsmos <seth.mos@dds.nl>2012-05-26 10:06:15 +0200
committersmos <seth.mos@dds.nl>2012-05-26 10:06:15 +0200
commit730c64940d7155bf9ab7ece7edb5514fccef777b (patch)
treec1425235e612822579c678b02ca60c8485768a90 /usr
parentf94eb529f81a27285f9e771cc470182c0368cd14 (diff)
downloadpfsense-730c64940d7155bf9ab7ece7edb5514fccef777b.zip
pfsense-730c64940d7155bf9ab7ece7edb5514fccef777b.tar.gz
do a direct return, it will not find the PinReady command
Diffstat (limited to 'usr')
-rw-r--r--usr/local/sbin/mpd.script2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr/local/sbin/mpd.script b/usr/local/sbin/mpd.script
index a0273dc..a7e62dc 100644
--- a/usr/local/sbin/mpd.script
+++ b/usr/local/sbin/mpd.script
@@ -105,7 +105,7 @@ DialPeerSetPin:
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