diff options
author | Thierry Vignaud <tvignaud@mandriva.org> | 2004-03-04 10:07:38 +0000 |
---|---|---|
committer | Thierry Vignaud <tvignaud@mandriva.org> | 2004-03-04 10:07:38 +0000 |
commit | bf2e17b32e37a0d1b41fe4993b8dbc1b61d89236 (patch) | |
tree | 3757ec617585781e2bf276b5b6f7faac63e312e2 /perl-install | |
parent | c01ca42031a3bd4abd2133af7731a5f73af28047 (diff) | |
download | drakx-bf2e17b32e37a0d1b41fe4993b8dbc1b61d89236.tar drakx-bf2e17b32e37a0d1b41fe4993b8dbc1b61d89236.tar.gz drakx-bf2e17b32e37a0d1b41fe4993b8dbc1b61d89236.tar.bz2 drakx-bf2e17b32e37a0d1b41fe4993b8dbc1b61d89236.tar.xz drakx-bf2e17b32e37a0d1b41fe4993b8dbc1b61d89236.zip |
list network card name rather than just ethX in device list
Diffstat (limited to 'perl-install')
-rwxr-xr-x | perl-install/standalone/drakgw | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/perl-install/standalone/drakgw b/perl-install/standalone/drakgw index 0dfa138f8..36cfb4d33 100755 --- a/perl-install/standalone/drakgw +++ b/perl-install/standalone/drakgw @@ -29,6 +29,7 @@ use common; use detect_devices; use interactive; use network::network; +use network::ethernet; use log; use c; use network::netconnect; @@ -215,7 +216,7 @@ Examples: eth0, or eth1 for cable connection, ippp+ for a isdn connection. "), - [ { label => N("Net Device"), val => \$card_netconnect, list => [ detect_devices::getNet() ], not_edit => 0 } ]) + [ { label => N("Net Device"), val => \$card_netconnect, list => [ sort keys %net_devices ], format => sub { $net_devices{$_[0]} || $_[0] }, not_edit => 0 } ]) or goto step_ask_confirm; my @cards = grep { |