summaryrefslogtreecommitdiffstats
path: root/perl-install/network/wireless.pm
diff options
context:
space:
mode:
authorOlivier Blin <oblin@mandriva.org>2005-08-28 17:51:03 +0000
committerOlivier Blin <oblin@mandriva.org>2005-08-28 17:51:03 +0000
commit0e3c0c921f9b36993819c05082e780add85e5f8d (patch)
treea873c88b33aa844ce107e5bb604bece905d4634f /perl-install/network/wireless.pm
parent605c6b07c0afebfc6c0f1beca43b1081fbf0ad0d (diff)
downloaddrakx-backup-do-not-use-0e3c0c921f9b36993819c05082e780add85e5f8d.tar
drakx-backup-do-not-use-0e3c0c921f9b36993819c05082e780add85e5f8d.tar.gz
drakx-backup-do-not-use-0e3c0c921f9b36993819c05082e780add85e5f8d.tar.bz2
drakx-backup-do-not-use-0e3c0c921f9b36993819c05082e780add85e5f8d.tar.xz
drakx-backup-do-not-use-0e3c0c921f9b36993819c05082e780add85e5f8d.zip
move %wireless_enc_modes in network::wireless
Diffstat (limited to 'perl-install/network/wireless.pm')
-rw-r--r--perl-install/network/wireless.pm7
1 files changed, 7 insertions, 0 deletions
diff --git a/perl-install/network/wireless.pm b/perl-install/network/wireless.pm
index 782b24131..62971bcaf 100644
--- a/perl-install/network/wireless.pm
+++ b/perl-install/network/wireless.pm
@@ -3,6 +3,13 @@ package network::wireless;
use strict;
use common;
+our %wireless_enc_modes = (
+ none => N("None"),
+ open => N("Open WEP"),
+ restricted => N("Restricted WEP"),
+ 'wpa-psk' => N("WPA Pre-Shared Key"),
+);
+
my $wpa_supplicant_conf = "/etc/wpa_supplicant.conf";
sub convert_wep_key_for_iwconfig {