]> git.pld-linux.org Git - projects/rc-scripts.git/commitdiff
- allow WLAN_MODE=managed in lowercase (as it's in doc)
authorElan Ruusamäe <glen@pld-linux.org>
Sun, 28 Oct 2007 17:57:14 +0000 (17:57 +0000)
committerElan Ruusamäe <glen@pld-linux.org>
Sun, 28 Oct 2007 17:57:14 +0000 (17:57 +0000)
svn-id: @8892

sysconfig/network-scripts/functions.network

index 9193c8e782977929e14905143de1ddf1a429fbba..9363d0ad420632c5891f3c077aec548e81f034a7 100644 (file)
@@ -500,7 +500,7 @@ wireless_param()
        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
This page took 0.786507 seconds and 4 git commands to generate.