diff options
Diffstat (limited to 'perl-install/network/isdn.pm')
-rw-r--r-- | perl-install/network/isdn.pm | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/perl-install/network/isdn.pm b/perl-install/network/isdn.pm index 006cbca23..dc2d11b50 100644 --- a/perl-install/network/isdn.pm +++ b/perl-install/network/isdn.pm @@ -89,8 +89,9 @@ sub isdn_write_config_backend { substInFile { s/EAZ =.*/EAZ = $isdn->{phone_in}/; s/PHONE_OUT =.*/PHONE_OUT = $isdn->{phone_out}/; -# s/HUPTIMEOUT =.*/HUPTIMEOUT = $isdn->{huptimeout}/; -# $a or s/HUPTIMEOUT =.*/HUPTIMEOUT = $isdn->{huptimeout}/, $a=1; + if (/NAME = ippp0/ .. /PPPBIND = 0/) { + s/HUPTIMEOUT =.*/HUPTIMEOUT = $isdn->{huptimeout}/; + } } "$prefix/etc/isdn/$f"; chmod 0600, $f; } |