]> git.pld-linux.org Git - projects/rc-scripts.git/commitdiff
- key index and value should be different arguments
authorElan Ruusamäe <glen@pld-linux.org>
Sun, 28 Oct 2007 17:56:41 +0000 (17:56 +0000)
committerElan Ruusamäe <glen@pld-linux.org>
Sun, 28 Oct 2007 17:56:41 +0000 (17:56 +0000)
svn-id: @8891

sysconfig/network-scripts/functions.network

index ee8570ae13c4adc60366f101f7e95b5d20a2e704..9193c8e782977929e14905143de1ddf1a429fbba 100644 (file)
@@ -529,7 +529,7 @@ wireless_param()
                for idx in 1 2 3 4; do
                        val="$(eval echo \$${prefix}WLAN_KEY_$idx)"
                        [ "$val" ] || continue
-                       iwconfig ${device} key "[$idx] $val"
+                       iwconfig ${device} key "[$idx]" "$val"
                done
                if val="$(eval echo \$${prefix}WLAN_KEY_CURRENT)" && [ "$val" ]; then
                        iwconfig ${device} key "[$val]"
This page took 0.082523 seconds and 4 git commands to generate.