summaryrefslogtreecommitdiffstats
path: root/perl-install/network
diff options
context:
space:
mode:
authorOlivier Blin <oblin@mandriva.org>2004-09-15 05:46:43 +0000
committerOlivier Blin <oblin@mandriva.org>2004-09-15 05:46:43 +0000
commit63306a41862c225feba38b0420becebede1bcc15 (patch)
treed0f85110f74657a3c9ce1f10c75e44fe09c754b4 /perl-install/network
parent528fab362b658fee64facf2545b227c546ea28da (diff)
downloaddrakx-backup-do-not-use-63306a41862c225feba38b0420becebede1bcc15.tar
drakx-backup-do-not-use-63306a41862c225feba38b0420becebede1bcc15.tar.gz
drakx-backup-do-not-use-63306a41862c225feba38b0420becebede1bcc15.tar.bz2
drakx-backup-do-not-use-63306a41862c225feba38b0420becebede1bcc15.tar.xz
drakx-backup-do-not-use-63306a41862c225feba38b0420becebede1bcc15.zip
load modules and run start programs in standalone too, so that it will
work even if the packages have just been installed
Diffstat (limited to 'perl-install/network')
-rw-r--r--perl-install/network/adsl.pm12
1 files changed, 5 insertions, 7 deletions
diff --git a/perl-install/network/adsl.pm b/perl-install/network/adsl.pm
index 9a45ca4c0..05c320f20 100644
--- a/perl-install/network/adsl.pm
+++ b/perl-install/network/adsl.pm
@@ -371,13 +371,11 @@ METRIC=$metric
run_program::rooted($::prefix, "/usr/sbin/drdsl");
}
- unless ($::isStandalone) {
- my @modules = (@{$modems{$adsl_device}{modules}}, map { $_->[1] } @{$modems{$adsl_device}{aliases}});
- @modules or @modules = qw(ppp_synctty ppp_async ppp_generic n_hdlc); #- required for pppoe/pptp connections
- @modules && eval { modules::load(@modules) }
- or log::l("failed to load " . join(',', @modules), " modules: $@");
- $modems{$adsl_device}{start} and run_program::rooted($::prefix, $modems{$adsl_device}{start});
- }
+ my @modules = (@{$modems{$adsl_device}{modules}}, map { $_->[1] } @{$modems{$adsl_device}{aliases}});
+ @modules or @modules = qw(ppp_synctty ppp_async ppp_generic n_hdlc); #- required for pppoe/pptp connections
+ @modules && eval { modules::load(@modules) }
+ or log::l("failed to load " . join(',', @modules), " modules: $@");
+ $modems{$adsl_device}{start} and run_program::rooted($::prefix, $modems{$adsl_device}{start});
}
1;