control: Install JSON config files from repo
Install the JSON config files for the machine name provided in the
environment variable "MACHINE" into the application's data directory.
When no "MACHINE" name is given, the entire contents of the
`config_files` directory is installed and when a given "MACHINE" named
directory does not exist, the installation is intended to fail. This
failure of installation is to ensure that the fan application's
necessary JSON config files will exist so the fan application does not
fail to start.
Change-Id: I9d93694ece2fa26cd556f3010f2136d5576f8270
Signed-off-by: Matthew Barth <msbarth@us.ibm.com>
2 files changed