From 730c64940d7155bf9ab7ece7edb5514fccef777b Mon Sep 17 00:00:00 2001 From: smos Date: Sat, 26 May 2012 10:06:15 +0200 Subject: do a direct return, it will not find the PinReady command --- usr/local/sbin/mpd.script | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'usr') 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 -- cgit v1.1