Difference between revisions of "Directives/config"

From Syslinux Wiki
Jump to: navigation, search
m (Add "Directives" Category. Add "Examples" Category.)
m (Wiki formatting.)
Line 3: Line 3:
 
Load new configuration file :
 
Load new configuration file :
 
<pre>
 
<pre>
  LABEL new_config
+
LABEL new_config
  CONFIG </path/to/cfg/file/><configfile.cfg>
+
CONFIG </path/to/cfg/file/><configfile.cfg>
 
</pre>
 
</pre>
 
Set Syslinux's new home directory to {{nowrap|"<tt>/path/to/new/base/dir</tt>"}} and load new configuration file&nbsp;:
 
Set Syslinux's new home directory to {{nowrap|"<tt>/path/to/new/base/dir</tt>"}} and load new configuration file&nbsp;:
 
<pre>
 
<pre>
  LABEL new_config2
+
LABEL new_config2
  CONFIG </path/to/cfg/file/><configfile.cfg> </path/to/new/base/dir>
+
CONFIG </path/to/cfg/file/><configfile.cfg> </path/to/new/base/dir>
 
</pre>
 
</pre>
 
or:
 
or:
 
<pre>
 
<pre>
  LABEL new_config2
+
LABEL new_config2
  CONFIG </path/to/cfg/file/><configfile.cfg>
+
CONFIG </path/to/cfg/file/><configfile.cfg>
  APPEND </path/to/new/base/dir>
+
APPEND </path/to/new/base/dir>
 
</pre>
 
</pre>

Revision as of 04:10, 27 March 2017

Load new configuration file :

 LABEL new_config
 CONFIG </path/to/cfg/file/><configfile.cfg>

Set Syslinux's new home directory to "/path/to/new/base/dir" and load new configuration file :

 LABEL new_config2
 CONFIG </path/to/cfg/file/><configfile.cfg> </path/to/new/base/dir>

or:

 LABEL new_config2
 CONFIG </path/to/cfg/file/><configfile.cfg>
 APPEND </path/to/new/base/dir>