From a9e03ee1de980d909dc867c9b5853205c5cb5c3c Mon Sep 17 00:00:00 2001 From: Thierry Vignaud Date: Wed, 24 Mar 2004 16:09:03 +0000 Subject: (isdn_write_config_backend) load ISDN driver --- perl-install/network/isdn.pm | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'perl-install') diff --git a/perl-install/network/isdn.pm b/perl-install/network/isdn.pm index cf32a9fae..aca64f34a 100644 --- a/perl-install/network/isdn.pm +++ b/perl-install/network/isdn.pm @@ -64,12 +64,14 @@ defaultroute write_secret_backend($isdn->{login}, $isdn->{passwd}); - set_cnx_script($netc, "isdn", + set_cnx_script($netc, "isdn", join('', "/sbin/route del default +modprobe $isdn->{driver}", if_($isdn->{type}, " type=$isdn->{type}"), +" /sbin/ifup ippp0 /usr/sbin/isdnctrl dial ippp0 -" . if_($isdn->{speed} =~ /128/, "service ibod restart -"), +", if_($isdn->{speed} =~ /128/, "service ibod restart +")), "/usr/sbin/isdnctrl hangup ippp0 #/sbin/ifdown ippp0 " . if_($isdn->{speed} =~ /128/, "service ibod stop -- cgit v1.2.1