AUR web interface

Tasklist

FS#4875 - initscripts don't work for essids with spaces

Attached to Project: AUR web interface
Opened by Arthur Danskin (wiremore) - Monday, 26 June 2006, 18:31 GMT
Task Type Bug Report
Category Backend
Status Closed
Assigned To No-one
Architecture All
Severity Medium
Priority Normal
Reported Version 1.2.9
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

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  Simo Leone (neotuli)
Tuesday, 27 June 2006, 20:51 GMT
Reason for closing:  None
Comment by Arthur Danskin (wiremore) - Monday, 26 June 2006, 18:33 GMT
I'm sorry, this bug report was added in the wrong category. I have posted a new one in the correct area.

Loading...