diff options
Diffstat (limited to 'perl-install/network')
-rw-r--r-- | perl-install/network/adsl.pm | 4 | ||||
-rw-r--r-- | perl-install/network/isdn.pm | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/perl-install/network/adsl.pm b/perl-install/network/adsl.pm index f8a236344..f26a45708 100644 --- a/perl-install/network/adsl.pm +++ b/perl-install/network/adsl.pm @@ -84,12 +84,12 @@ sub adsl_conf { adsl_ask_info ($adsl, $netc, $intf) or return; adsl_conf_step_2: $adsl_type eq 'speedtouch' or conf_network_card($netc, $intf, 'static' , '10.0.0.10' ) or goto adsl_conf_step_1; - adsl_conf_backend($adsl, $netc, $adsl_type); + adsl_conf_backend($adsl, $netc, $adsl_type, $netcnx); 1; } sub adsl_conf_backend { - my ($adsl, $netc, $adsl_type) = @_; + my ($adsl, $netc, $adsl_type, $netcnx) = @_; mkdir_p("$prefix/etc/ppp"); output("$prefix/etc/ppp/options", diff --git a/perl-install/network/isdn.pm b/perl-install/network/isdn.pm index dc2d11b50..c08f2dd5b 100644 --- a/perl-install/network/isdn.pm +++ b/perl-install/network/isdn.pm @@ -62,12 +62,12 @@ We recommand the light configuration. run_program::rooted($prefix, "rpm", "-e", "$rmpackage"); $in->do_pkgs->install($instpackage, if_($isdn->{speed} =~ /128/, 'ibod'), 'isdn4k-utils'); my $light = $e =~ /light/ ? 1 : 0; - isdn_write_config_backend($isdn, $light, $netc); + isdn_write_config_backend($isdn, $light, $netc, $netcnx); 1; } sub isdn_write_config_backend { - my ($isdn, $light, $netc) = @_; + my ($isdn, $light, $netc, $netcnx) = @_; if ($light) { modules::mergein_conf("$prefix/etc/modules.conf"); if ($isdn->{id}) { |