[oe-issues] [Bug 1583] hostap-fw-load doesn't work with bash
bugzilla-daemon at tinman.treke.net
bugzilla-daemon at tinman.treke.net
Wed Nov 29 08:39:33 UTC 2006
http://bugs.openembedded.org/show_bug.cgi?id=1583
------- Comment #2 from koen at dominion.kabel.utwente.nl 2006-11-29 00:39 -------
(In reply to comment #1)
> Can you try with bash 3.2 which I pushed into .dev?
>
> Similar script works on my desktop with bash 3.1.
>
It doesn't:
root at h2200:~# ifup wlan0
/etc/network/if-pre-up.d/hostap-fw-load: line 4: [: too many arguments
[snip]
root at h2200:~# sh --version
GNU bash, version 3.2.5(1)-release (arm-angstrom-linux-gnueabi)
Copyright (C) 2005 Free Software Foundation, Inc.
root at h2200:~#
But changing line 4 to:
if [ -n "`cat /proc/net/wireless|grep $IFACE`" ]; then
silences the error message (extra quotes around ``)
regards,
--
Configure bugmail: http://bugs.openembedded.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
More information about the Openembedded-issues
mailing list