diff options
author | damien <damien@mandriva.com> | 2001-09-24 15:10:56 +0000 |
---|---|---|
committer | damien <damien@mandriva.com> | 2001-09-24 15:10:56 +0000 |
commit | 67dcfd37f6ce000f1e78b5a2c120b2f3ff503241 (patch) | |
tree | 2c12e5809ad9829611e41f0294cf09e1943dd2cc /perl-install/network | |
parent | 6242b035c274227fe971d922e3d66e76f706a8c1 (diff) | |
download | drakx-backup-do-not-use-67dcfd37f6ce000f1e78b5a2c120b2f3ff503241.tar drakx-backup-do-not-use-67dcfd37f6ce000f1e78b5a2c120b2f3ff503241.tar.gz drakx-backup-do-not-use-67dcfd37f6ce000f1e78b5a2c120b2f3ff503241.tar.bz2 drakx-backup-do-not-use-67dcfd37f6ce000f1e78b5a2c120b2f3ff503241.tar.xz drakx-backup-do-not-use-67dcfd37f6ce000f1e78b5a2c120b2f3ff503241.zip |
corrected type assignation
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}) { |