Difference between revisions of "Directives/config"

From Syslinux Wiki
Jump to: navigation, search
m (Add "Directives" Category. Add "Examples" Category.)
m (Minor wiki formatting. Internal link.)
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
 
[[Category:Directives]]
 
[[Category:Directives]]
 
[[Category:Examples]]
 
[[Category:Examples]]
Load new configuration file :
+
Load new [[Config#CONFIG|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>
 +
|}

Latest revision as of 17:44, 5 April 2019

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>