SVN: rc-scripts/trunk/sysconfig/network-scripts/functions.network
glen
glen at pld-linux.org
Sun Oct 28 18:56:41 CET 2007
Author: glen
Date: Sun Oct 28 18:56:41 2007
New Revision: 8891
Modified:
rc-scripts/trunk/sysconfig/network-scripts/functions.network
Log:
- key index and value should be different arguments
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:56:41 2007
@@ -529,7 +529,7 @@
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]"
More information about the pld-cvs-commit
mailing list