On 7/27/2012 1:54 PM, Matthias Buecher / Germany wrote:
Signed-off by: Matthias Buecher <[email protected]>
- - - -
Setting the trx header flags can be very useful, for instance when
reverting/switching from DD-Wrt to OpenWrt.
It can emulate DD-Wrt's "-noheader" option with "-c 1", so the image can be
flashed correctly, e.g. on Buffalo WZR-HP-G300NH with DD-Wrt installed.
But it also allows to set any value necessary.
Patch inline for comments and also attached.
[snip!]
- while ((c = getopt(argc, argv, "-:2o:m:a:x:b:f:A:F:")) != -1) {
+ while ((c = getopt(argc, argv, "-:2o:m:a:x:b:f:A:F:c:")) != -1) {
[snip!]
d'oh! Before my data-loss disaster (in which I sadly lost the patch), I
was using -c for "custom" magic number specification on the command-line
(which will be needed, eventually, for Belkin F7D{3,7}301 support).
It was a trivial patch (and therefore won't be hard to recreate) and, I
suppose, it's a trivial matter, but ... does -M sound objectionable to
anyone?
-gmt
_______________________________________________
openwrt-devel mailing list
[email protected]
https://lists.openwrt.org/mailman/listinfo/openwrt-devel