[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#798373: netcfg: Change default wireless networking type from WEP to WPA



Hey,

> However, Default: should match the choice you want, but in Choices-C,
> therefore it should be "wpa" alone.

Thanks :)

So, I was curious about Choices-C but the only documentation I could
easily find about it was in debconf-devel(7) which states that if
DEBCONF_C_VALUES is set, the frontend will display  the values from this
field. Whilst I've got your attention - what's the purpose of it?

Updated patch attached.


Regards,

-- 
      ,''`.
     : :'  :     Chris Lamb
     `. `'`      lamby@debian.org / chris-lamb.co.uk
       `-
diff --git a/debian/netcfg-common.templates b/debian/netcfg-common.templates
index 4525305..2b77936 100644
--- a/debian/netcfg-common.templates
+++ b/debian/netcfg-common.templates
@@ -65,6 +65,7 @@ _Description: Wireless ESSID for ${iface}:
 
 Template: netcfg/wireless_security_type
 Type: select
+Default: wpa
 Choices-C: wep/open, wpa
 __Choices: WEP/Open Network, WPA/WPA2 PSK
 # :sl2:

Reply to: