SVN: rc-scripts/trunk/sysconfig/network-scripts/functions.network

glen glen at pld-linux.org
Sun Oct 28 18:57:14 CET 2007


Author: glen
Date: Sun Oct 28 18:57:14 2007
New Revision: 8892

Modified:
   rc-scripts/trunk/sysconfig/network-scripts/functions.network
Log:
- allow WLAN_MODE=managed in lowercase (as it's in doc)

Modified: rc-scripts/trunk/sysconfig/network-scripts/functions.network
==============================================================================
--- rc-scripts/trunk/sysconfig/network-scripts/functions.network	(original)
+++ rc-scripts/trunk/sysconfig/network-scripts/functions.network	Sun Oct 28 18:57:14 2007
@@ -500,7 +500,7 @@
 	val="$(eval echo \$${prefix}WLAN_NWID)" && [ "$val" ] && \
 		iwconfig ${device} nwid "$val"
 
-	if [ "$wlan_mode" != "Managed" ]; then
+	if [ "$wlan_mode" != "Managed" -a "$wlan_mode" != "managed" ]; then
 		if val="$(eval echo \$${prefix}WLAN_FREQ)" && [ "$val" ]; then
 			iwconfig ${device} freq "$val"
 		elif val="$(eval echo \$${prefix}WLAN_CHANNEL)" && [ "$val" ]; then


More information about the pld-cvs-commit mailing list