]> git.ipfire.org Git - thirdparty/grub.git/commitdiff
doc: document config_directory and config_file variables
authorAndrey Borzenkov <arvidjaar@gmail.com>
Sat, 7 Nov 2015 14:03:38 +0000 (17:03 +0300)
committerAndrei Borzenkov <arvidjaar@gmail.com>
Sat, 7 Nov 2015 14:03:38 +0000 (17:03 +0300)
docs/grub.texi

index b9f41a73ec2346911f4c953afd38dc81e0c33a40..db765a3b503ebf648fdbc4ff4d5e7e2f07ae842a 100644 (file)
@@ -3038,6 +3038,8 @@ These variables have special meaning to GRUB.
 * cmdpath::
 * color_highlight::
 * color_normal::
+* config_directory::
+* config_file::
 * debug::
 * default::
 * fallback::
@@ -3180,6 +3182,22 @@ matching colors of first half.
 to support whole rgb24 palette but currently there is no compelling reason
 to go beyond the current 16 colors.
 
+
+@node config_directory
+@subsection config_directory
+
+This variable is automatically set by GRUB to the directory part of
+current configuration file name (@pxref{config_file}).
+
+
+@node config_file
+@subsection config_file
+
+This variable is automatically set by GRUB to the name of configuration file that is being
+processed by commands @command{configfile} (@pxref{configfile}) or @command{normal}
+(@pxref{normal}).  It is restored to the previous value when command completes.
+
+
 @node debug
 @subsection debug