diff options
Diffstat (limited to 'perl-install/network')
-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 |