summaryrefslogtreecommitdiffstats
path: root/perl-install/standalone/drakTermServ
diff options
context:
space:
mode:
authorStew Benedict <stewb@mandriva.org>2005-03-18 17:45:06 +0000
committerStew Benedict <stewb@mandriva.org>2005-03-18 17:45:06 +0000
commitef019637f3922470e355405514dbc37ef8baf7c7 (patch)
tree020d13eb8abe4bd81e2b0224ee62877d2bd15afc /perl-install/standalone/drakTermServ
parent55238eacf0a5f5e027bc786030379a60049e9483 (diff)
downloaddrakx-ef019637f3922470e355405514dbc37ef8baf7c7.tar
drakx-ef019637f3922470e355405514dbc37ef8baf7c7.tar.gz
drakx-ef019637f3922470e355405514dbc37ef8baf7c7.tar.bz2
drakx-ef019637f3922470e355405514dbc37ef8baf7c7.tar.xz
drakx-ef019637f3922470e355405514dbc37ef8baf7c7.zip
Better way to list NIC modules (thx Thierry).
Diffstat (limited to 'perl-install/standalone/drakTermServ')
-rwxr-xr-xperl-install/standalone/drakTermServ13
1 files changed, 3 insertions, 10 deletions
diff --git a/perl-install/standalone/drakTermServ b/perl-install/standalone/drakTermServ
index 9518336b4..4943f4714 100755
--- a/perl-install/standalone/drakTermServ
+++ b/perl-install/standalone/drakTermServ
@@ -659,16 +659,9 @@ sub make_nbi() {
my $kernel;
my $nic;
- #- just a static list for the moment
- #- method in mknbi-net is much better
- my @nics = ("3c509", "3c59x", "3c90x", "8139cp", "8139too", "acenic", "airo",
- "aironet4500_card", "bcm5700", "dgrs", "dl2k", "dmfe", "e100",
- "e1000", "eepro100", "epic100", "fealnx", "forcedeth", "hamachi", "hp100",
- "hysdn", "natsemi", "natsemi_old", "ne", "ne2k-pci", "ns83820",
- "pcnet32", "pegasus", "prism2_pci", "prism2_plx", "rcpci", "sis900",
- "starfire", "sundance", "sungem", "sunhme", "tlan", "tulip-old",
- "via-rhine", "winbond-840", "xircom_cb", "xircom_tulip_cb", "yellowfin");
-
+ require list_modules;
+ my @nics = list_modules::category2modules(list_modules::ethernet_categories());
+
#- kernel/module info in tree view
my $model = Gtk2::TreeStore->new("Glib::String");
my $tree_kernels = Gtk2::TreeView->new_with_model($model);