Skip to contentSkip to conversation

document config_directory and config_file variables

PATCH New Andrey Borzenkov 1 participant 1 message Dec 7, 2013

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 document config_directory and config_file variables

---
 docs/grub.texi | 16 ++++++++++++++++
 1 file changed, 16 insertions(+)
docs/grub.texi +16 -0
index 6144740..e41c8db 100644
@@ -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,20 @@ 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
+
+Name of configuration file that is being processed (@pxref{configfile}).
+
+
 @node debug
 @subsection debug
 
Signature · 1 line
tg: (bb05e31..) u/config_directory (depends on: master)