On 12/12/2017 11:24 AM, John Crispin wrote:
>
>
> board_config_flush() {
> + # when calling json_dump with a redirect, the shell will truncate the
> target
> + # file and not update it until a close/flush is called. this results in
> a short
> + # window where the file is 0 bytes.
add comment explaining why we generate board.json in 2 steps
Signed-off-by: John Crispin
---
package/base-files/files/lib/functions/uci-defaults.sh | 4
1 file changed, 4 insertions(+)
diff --git a/package/base-files/files/lib/functions/uci-defaults.sh
b/package/base-files/files/lib/funct