New backup from 05/06/24 - 23:19:20
This commit is contained in:
@@ -3,6 +3,27 @@
|
||||
# customized.
|
||||
|
||||
# See docs/Config_Reference.md for a description of parameters.
|
||||
#
|
||||
# BACKUP config to git.npau.ru
|
||||
[gcode_macro update_git]
|
||||
gcode:
|
||||
{% set message = params.MESSAGE|default() %}
|
||||
{% if message %}
|
||||
RUN_SHELL_COMMAND CMD=update_git_script_message PARAMS="'{params.MESSAGE}'"
|
||||
{% else %}
|
||||
RUN_SHELL_COMMAND CMD=update_git_script
|
||||
{% endif %}
|
||||
|
||||
[gcode_shell_command update_git_script]
|
||||
command: bash -c "bash $HOME/klipper-backup-steel/script.sh"
|
||||
timeout: 90.0
|
||||
verbose: True
|
||||
|
||||
[gcode_shell_command update_git_script_message]
|
||||
command: bash -c "bash $HOME/klipper-backup-steel/script.sh $0"
|
||||
timeout: 90.0
|
||||
verbose: True
|
||||
|
||||
|
||||
######################################################################
|
||||
# Start Print and End Print
|
||||
|
||||
Reference in New Issue
Block a user