* Francisco Cuesta <ndarkn...@gmail.com> [16.05.2013 18:32]:
> Thanks for replying Bastian,
> 
> Do you know  the meaning of the ${fixed:+"fixed_freq=1"} ?? I mean,
> this fixes the vaule of the frequency but for what value?

i can only see:

line 335:
[ "$channel" = "auto" -o "$channel" = "0" ] || {
        fixed=1
}

line 528:
${fixed:+fixed-freq}

which means: if channel is auto or 0, than
the freq is NOT fixed, so dont insert the statement.

the syntax:
${variable:+bla}

means: has variable a value, than output "bla", which is the same like
[ -n "$variable" ] && echo "bla"

(but often used inline)
for further explenation read here:
http://tldp.org/LDP/abs/html/parameter-substitution.html

bye, bastian
_______________________________________________
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel

Reply via email to