libubox, jshn: add option to write output to a file
authorRoman Yeryomin <roman@advem.lv>
Fri, 13 Sep 2019 22:22:48 +0000 (01:22 +0300)
committerJohn Crispin <john@phrozen.org>
Mon, 21 Oct 2019 12:21:41 +0000 (14:21 +0200)
commiteb30a03048f83e733a9530b5741808d7d0932ff2
treeb5886ceb01f5ba0073a93f88361fab7fb0d07f8c
parentecf56174da9614a0b3107d33def463eefb4d7785
libubox, jshn: add option to write output to a file

This would allow board_config_flush to run one command instead
of two and would be faster and safer than redirecting output
and moving a file between filesystems.

Originally discussed here:
http://lists.openwrt.org/pipermail/openwrt-devel/2017-December/010127.html

Signed-off-by: Roman Yeryomin <roman@advem.lv>
jshn.c