diff options
author | Thierry Vignaud <tvignaud@mandriva.org> | 2004-03-24 16:09:03 +0000 |
---|---|---|
committer | Thierry Vignaud <tvignaud@mandriva.org> | 2004-03-24 16:09:03 +0000 |
commit | a9e03ee1de980d909dc867c9b5853205c5cb5c3c (patch) | |
tree | f6203dc0c117b33f9a58aee960c6c71ec636d203 | |
parent | 65c0497a9679185d46446fb722cf822f4bb27d2e (diff) | |
download | drakx-a9e03ee1de980d909dc867c9b5853205c5cb5c3c.tar drakx-a9e03ee1de980d909dc867c9b5853205c5cb5c3c.tar.gz drakx-a9e03ee1de980d909dc867c9b5853205c5cb5c3c.tar.bz2 drakx-a9e03ee1de980d909dc867c9b5853205c5cb5c3c.tar.xz drakx-a9e03ee1de980d909dc867c9b5853205c5cb5c3c.zip |
(isdn_write_config_backend) load ISDN driver
-rw-r--r-- | perl-install/network/isdn.pm | 8 |
1 files changed, 5 insertions, 3 deletions
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 |