diff options
author | Jo-Philipp Wich <jo@mein.io> | 2016-05-31 14:47:30 +0200 |
---|---|---|
committer | Jo-Philipp Wich <jo@mein.io> | 2016-06-08 00:34:02 +0200 |
commit | b98f78b1c15f1593b508c58fc9a34f90b1e58081 (patch) | |
tree | a72ca575dab6a2c6398063589bdf872ab1d19e0d /target/sdk | |
parent | 82768561c4709bab4c278c426fdf5ded14f4d5e8 (diff) | |
download | upstream-b98f78b1c15f1593b508c58fc9a34f90b1e58081.tar.gz upstream-b98f78b1c15f1593b508c58fc9a34f90b1e58081.tar.bz2 upstream-b98f78b1c15f1593b508c58fc9a34f90b1e58081.zip |
base-files: rework config generation logic
Now that config_generate is able to generate the entire /etc/config/system
from scratch we can apply the same logic as used for /etc/config/network;
when the configuration file exists already then do not do anything, else
generate it from the values provided by /etc/board.json .
In order to facilitate that move the file existance checking inside
/bin/config_generate and call it unconditionally from /bin/board_detect.
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Diffstat (limited to 'target/sdk')
0 files changed, 0 insertions, 0 deletions