diff options
author | smos <seth.mos@dds.nl> | 2012-06-02 12:59:09 +0200 |
---|---|---|
committer | smos <seth.mos@dds.nl> | 2012-06-02 12:59:09 +0200 |
commit | 75e89498529eca6f306cf7022cc7cc3ab979f25c (patch) | |
tree | a7c84d1d0ce1ad0e6c0d1ef7f3f0afb74994b576 /usr/local/sbin | |
parent | aa7504e00fafee68324d48a2451a99cda2ba3615 (diff) | |
download | pfsense-75e89498529eca6f306cf7022cc7cc3ab979f25c.zip pfsense-75e89498529eca6f306cf7022cc7cc3ab979f25c.tar.gz |
Move the SIM Pin and APN settings to the modem setup since we need these only once.
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 3039db5..4525b01 100644 --- a/usr/local/sbin/mpd.script +++ b/usr/local/sbin/mpd.script @@ -83,8 +83,6 @@ DialPeer1: DialPeer2: log "Detected $ModemDescription." call $ModemSetupFunc - if $SimPin != "" call DialPeerSetPin - if $APN != "" call DialPeerSetAPN log "Dialing server at $Telephone..." call ModemDial if $dialResult == "OK" goto DialPeerOK @@ -398,6 +396,8 @@ ModemIdent: ModemIdentGeneric: set $ModemDescription "Hayes compatible modem" + if $SimPin != "" call DialPeerSetPin + if $APN != "" call DialPeerSetAPN set $ModemSetupFunc GenericSetup return |