From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1Zv0dG-0006HH-NR for mharc-grub-devel@gnu.org; Sat, 07 Nov 2015 05:22:02 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:48156) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Zv0dE-0006H9-Q4 for grub-devel@gnu.org; Sat, 07 Nov 2015 05:22:01 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Zv0dB-0000ZT-Ms for grub-devel@gnu.org; Sat, 07 Nov 2015 05:22:00 -0500 Received: from mail-lf0-x236.google.com ([2a00:1450:4010:c07::236]:33467) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Zv0dB-0000ZO-Ek for grub-devel@gnu.org; Sat, 07 Nov 2015 05:21:57 -0500 Received: by lffz63 with SMTP id z63so14241358lff.0 for ; Sat, 07 Nov 2015 02:21:56 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:subject:date:message-id; bh=LmB2haRlyxmleLFoSIkTpd4GEja/llKD9wbXfnmWsHU=; b=wk6cOzXGBUQ78DXc49ZduqruxEyxEHxw9Nn4WHPXtoidhA7R8Ms4rwGwEW33z+qjxW eGO/JcnacHycfMfuwLPfC7SRLbjlmWa5Ds3JlhtAjbiI3/dVT50GpZKP8LC1WUbq3zEI +pWo7xCv4+lyd/pmDRDiHpJLuIvo4VomY+Y5/06QxhDs3WLTgCVQqHduHMA2nmbjqCtL e1j5ZDuS2opooWB4f2G6o13/k+I4V+G/o/t24KS67n3CHuaqvWHBjTpm/+xNkcBuiQl+ FJqgTL0bHdbp9O1QzWard5m2EZiVTcbB4+I9IKxTz+/ItH7gI864szyz7RxMfUclAEw4 La8g== X-Received: by 10.25.38.78 with SMTP id m75mr5479349lfm.112.1446891716576; Sat, 07 Nov 2015 02:21:56 -0800 (PST) Received: from localhost.localdomain (ppp91-76-25-247.pppoe.mtu-net.ru. [91.76.25.247]) by smtp.gmail.com with ESMTPSA id f198sm733067lff.9.2015.11.07.02.21.55 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Sat, 07 Nov 2015 02:21:55 -0800 (PST) From: Andrey Borzenkov To: grub-devel@gnu.org Subject: [PATCH] doc: document config_directory and config_file variables Date: Sat, 7 Nov 2015 13:21:54 +0300 Message-Id: <1446891714-10249-1-git-send-email-arvidjaar@gmail.com> X-Mailer: git-send-email 1.9.1 X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2a00:1450:4010:c07::236 X-BeenThere: grub-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: The development of GNU GRUB List-Id: The development of GNU GRUB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 07 Nov 2015 10:22:01 -0000 People are using this variable and it should be documented. --- docs/grub.texi | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/docs/grub.texi b/docs/grub.texi index b9f41a7..db765a3 100644 --- a/docs/grub.texi +++ b/docs/grub.texi @@ -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 -- tg: (c1fbc26..) u/config_directory (depends on: master)