On Mon, 2008-04-14 at 12:36 +0200, Alex Schuster wrote:
> I'd put a "set -xv" before the if statement, this way you see which
> statements, if any, get executed.
fantastic! I never knew about that... All the debugging it could have
saved me!
thanks,
--
Iain Buchanan
Given that sooner or
Remy Blank writes:
> Grant wrote:
> > postup() {
> > if [[ ${IFACE} = "wlan0" ]]; then
>
> IIRC, the equality operator is "==", not "=".
Both is valid in bash.
I'd put a "set -xv" before the if statement, this way you see which
statements, if any, get executed.
Wonko
--
gentoo-us
Grant wrote:
postup() {
if [[ ${IFACE} = "wlan0" ]]; then
IIRC, the equality operator is "==", not "=".
HTH.
-- Remy
signature.asc
Description: OpenPGP digital signature
3 matches
Mail list logo