summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorOlivier Blin <oblin@mandriva.org>2004-09-15 06:02:07 +0000
committerOlivier Blin <oblin@mandriva.org>2004-09-15 06:02:07 +0000
commit23ba1e449d8260a1029c218f90781139bb30891e (patch)
treeec80154fb5e39508ab521384cc6ea97c9c5a68c2
parented55d161e748a30fc10d27eea71323c43e8c5ff9 (diff)
downloaddrakx-23ba1e449d8260a1029c218f90781139bb30891e.tar
drakx-23ba1e449d8260a1029c218f90781139bb30891e.tar.gz
drakx-23ba1e449d8260a1029c218f90781139bb30891e.tar.bz2
drakx-23ba1e449d8260a1029c218f90781139bb30891e.tar.xz
drakx-23ba1e449d8260a1029c218f90781139bb30891e.zip
add comment
-rw-r--r--perl-install/network/adsl.pm2
1 files changed, 2 insertions, 0 deletions
diff --git a/perl-install/network/adsl.pm b/perl-install/network/adsl.pm
index f3fb6b050..5bf4bde00 100644
--- a/perl-install/network/adsl.pm
+++ b/perl-install/network/adsl.pm
@@ -375,6 +375,8 @@ METRIC=$metric
run_program::rooted($::prefix, "/usr/sbin/drdsl");
}
+ #- load modules and run modem-specific start programs
+ #- useful during install, or in case the packages have been installed after the device has been plugged
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) }