summaryrefslogtreecommitdiffstats
path: root/perl-install/network/isdn.pm
diff options
context:
space:
mode:
authordamien <damien@mandriva.com>2001-09-13 14:22:17 +0000
committerdamien <damien@mandriva.com>2001-09-13 14:22:17 +0000
commite0ac85418b44a743681d297f1b03e64bc7c13c0f (patch)
tree0a63abeb374820f8855cd2b394fa707893a83614 /perl-install/network/isdn.pm
parent90b998d0718fa02f1fc4b33e42cbe8fcec06e5a5 (diff)
downloaddrakx-backup-do-not-use-e0ac85418b44a743681d297f1b03e64bc7c13c0f.tar
drakx-backup-do-not-use-e0ac85418b44a743681d297f1b03e64bc7c13c0f.tar.gz
drakx-backup-do-not-use-e0ac85418b44a743681d297f1b03e64bc7c13c0f.tar.bz2
drakx-backup-do-not-use-e0ac85418b44a743681d297f1b03e64bc7c13c0f.tar.xz
drakx-backup-do-not-use-e0ac85418b44a743681d297f1b03e64bc7c13c0f.zip
isdn timeout works now.
Diffstat (limited to 'perl-install/network/isdn.pm')
-rw-r--r--perl-install/network/isdn.pm5
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;
}