OpenWrt – Diff between revs 2 and 3
?pathlinks?
Rev 2 | Rev 3 | |||
---|---|---|---|---|
Line 10... | Line 10... | |||
10 | |
10 | |
|
Line 11... | Line 11... | |||
11 | #include <netinet/in.h> // htonl |
11 | #include <netinet/in.h> // htonl |
|
12 | |
12 | |
|
13 | // Usage: mkdapimg [-p] [-m <model>] -s <sig> -i <input> -o <output> |
13 | // Usage: mkdapimg [-p] [-m <model>] -s <sig> -i <input> -o <output> |
|
14 | // |
14 | // |
|
15 | // e.g.: mkdapimg -s RT3052-AP-DAP1350-3 -i sysupgrade.bin -o factory.bin |
15 | // e.g.: mkdapimg -s RT3052-AP-DAP1350-3 -i sysupgarde.bin -o factory.bin |
|
16 | // |
16 | // |
|
17 | // If the model string <model> is not given, we will assume that |
17 | // If the model string <model> is not given, we will assume that |
|
18 | // the leading characters upto the first "-" is the model. |
18 | // the leading characters upto the first "-" is the model. |