From d7053f6e718e0a51b48054b90e38a1b0a698ca52 Mon Sep 17 00:00:00 2001 From: Kevin O'Connor Date: Thu, 3 Dec 2020 12:05:46 -0500 Subject: save_variables: Support saving variables to a disk file Signed-off-by: Dushyant Ahuja dusht.ahuja@gmail.com Signed-off-by: Kevin O'Connor --- docs/Config_Reference.md | 14 ++++++++++++++ 1 file changed, 14 insertions(+) (limited to 'docs/Config_Reference.md') diff --git a/docs/Config_Reference.md b/docs/Config_Reference.md index 54156c68..5b0a8b54 100644 --- a/docs/Config_Reference.md +++ b/docs/Config_Reference.md @@ -1182,6 +1182,20 @@ gcode: # Default is 0. ``` +## [save_variables] + +Support saving variables to disk so that they are retained across +restarts. See +[command templates](Command_Templates.md#save-variables-to-disk) and +[G-Code reference](G-Codes.md#save-variables) for further information. + +``` +[save_variables] +filename: +# Required - provide a filename that would be used to save the +# variables to disk e.g. ~/variables.cfg +``` + ## [idle_timeout] Idle timeout. An idle timeout is automatically enabled - add an -- cgit v1.2.3-70-g09d2