mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-25 18:32:57 +02:00
Add dialer to updater
Reinstall grub after kernel update again dialer changes for pin handling
This commit is contained in:
@@ -19,9 +19,9 @@ my %modemsettings;
|
||||
&General::readhash("${General::swroot}/modem/settings", \%modemsettings);
|
||||
|
||||
if ($modemsettings{'INIT'} eq '') {
|
||||
$modemsettings{'INIT'} = 'AT'; }
|
||||
$modemsettings{'INIT'} = '+++ATZ'; }
|
||||
if ($modemsettings{'HANGUP'} eq '') {
|
||||
$modemsettings{'HANGUP'} = 'AT'; }
|
||||
$modemsettings{'HANGUP'} = 'ATH'; }
|
||||
if ($modemsettings{'SPEAKER_ON'} eq '') {
|
||||
$modemsettings{'SPEAKER_ON'} = 'AT'; }
|
||||
if ($modemsettings{'SPEAKER_OFF'} eq '') {
|
||||
@@ -82,8 +82,9 @@ my $com = "/usr/sbin/chat -v -r /var/log/connect.log \
|
||||
ABORT '\\nRINGING\\r\\n\\r\\nRINGING\\r' \
|
||||
ABORT '\\nNO CARRIER\\r' \
|
||||
'' '$modemsettings{'INIT'}' \
|
||||
OK '$add_at1' \
|
||||
'' '$modemsettings{'HANGUP'}' \
|
||||
'' '$add_at1' \
|
||||
'' '$modemsettings{'INIT'}' \
|
||||
OK '$modemsettings{'HANGUP'}' \
|
||||
OK '$speaker' \
|
||||
OK '$add_at2' \
|
||||
'' '$add_at3' \
|
||||
|
||||
Reference in New Issue
Block a user