'\" t
.\" Title: accel-config-load-config
.\" Author: [FIXME: author] [see http://www.docbook.org/tdg5/en/html/author]
.\" Generator: DocBook XSL Stylesheets vsnapshot
.\" Date: 02/24/2023
.\" Manual: accfg Manual
.\" Source: accfg 3.5.3+
.\" Language: English
.\"
.TH "ACCEL\-CONFIG\-LOAD\" "1" "02/24/2023" "accfg 3\&.5\&.3+" "accfg Manual"
.\" -----------------------------------------------------------------
.\" * Define some portability stuff
.\" -----------------------------------------------------------------
.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
.\" http://bugs.debian.org/507673
.\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html
.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
.ie \n(.g .ds Aq \(aq
.el .ds Aq '
.\" -----------------------------------------------------------------
.\" * set default formatting
.\" -----------------------------------------------------------------
.\" disable hyphenation
.nh
.\" disable justification (adjust text to left margin only)
.ad l
.\" -----------------------------------------------------------------
.\" * MAIN CONTENT STARTS HERE *
.\" -----------------------------------------------------------------
.SH "NAME"
accel-config-load-config \- load pre\-defined the configuration in json format
.SH "SYNOPSIS"
.sp
.nf
\fIaccel\-config load\-config\fR []
.fi
.sp
Load and scan through the pre\-defined configuration file in json format, and set the configured attribute into corresponding component\&.
.sp
There is a sample config file at /etc/accel\-config/accel\-config\&.conf\&.sample, and it can be used as a reference for user about how the loadable config file looks like, but it should not be used directly given the variance of each system\&. The user should create a proper config file according to the format of sample file and use "\-c" option to point to the config file\&.
.sp
The "dev" property is used as the key for each json object and must be the first entry in each object block\&.
.sp
Note: This feature is intended to be used with a configuration that was previously saved using the save\-config command\&. Manual editing of the configuration file can produce unexpected results\&.
.SH "EXAMPLE"
.sp
.if n \{\
.RS 4
.\}
.nf
\&.ft C
# accel\-config load\-config
The command will load the default config file at
/etc/accel\-config/accel\-config\&.conf
# accel\-config load\-config \-c
The command will load the specified config file
\&.ft
.fi
.if n \{\
.RE
.\}
.SH "OPTIONS"
.PP
\-l, \-\-log=
.RS 4
to set where to output the config\(cqs notification
.RE
.PP
\-c, \-\-config\-file
.RS 4
to specify the location of the customized config file
.RE
.PP
\-e, \-\-enable
.RS 4
to enable the configured devices and wqs
.RE
.PP
\-f, \-\-forced
.RS 4
to disable enabled devices before configuring
.RE