FS#4876 - wireless initscripts are broken for essids with spaces
Attached to Project:
Arch Linux
Opened by Arthur Danskin (wiremore) - Monday, 26 June 2006, 18:34 GMT
Last edited by Tobias Powalowski (tpowa) - Tuesday, 27 June 2006, 06:31 GMT
Opened by Arthur Danskin (wiremore) - Monday, 26 June 2006, 18:34 GMT
Last edited by Tobias Powalowski (tpowa) - Tuesday, 27 June 2006, 06:31 GMT
|
Details
Trying /etc/rc.d/network restart with wlan_eth1="eth1 essid
\"here are some spaces\"" in /etc/conf.d/wireless results
in:
Error : unrecognised wireless request "are" A solution is: --- network.pacnew 2006-06-07 13:08:15.000000000 -0400 +++ network 2006-06-26 14:26:36.000000000 -0400 @@ -35,7 +35,7 @@ [ "`/sbin/ifconfig ${1} 2>/dev/null | grep UP`" ] && return 0 eval iwcfg="\$wlan_${1}" if [ "$iwcfg" != "" ]; then - /usr/sbin/iwconfig $iwcfg + sh -c "/usr/sbin/iwconfig $iwcfg" /bin/sleep 2 fi eval ifcfg="\$${1}" |
This task depends upon
Closed by Judd Vinet (judd)
Wednesday, 28 June 2006, 17:27 GMT
Reason for closing: Fixed
Additional comments about closing: Added for next build, thanks
Wednesday, 28 June 2006, 17:27 GMT
Reason for closing: Fixed
Additional comments about closing: Added for next build, thanks