From 69a8eb7cc99b7c3dcb0da689028e6bfa2152e268 Mon Sep 17 00:00:00 2001 From: vados-dev <192440777+vados-dev@users.noreply.github.com> Date: Thu, 12 Mar 2026 05:31:50 +0300 Subject: [PATCH] Autocommit in repo: Mikrotiks, generated by owner: root, in 05:31:50 12.03.2026. --- .gitignore | 10 +++++----- bin/ros-diff.sh | 4 ++-- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/.gitignore b/.gitignore index 5832e5b..ee3b237 100644 --- a/.gitignore +++ b/.gitignore @@ -1,9 +1,9 @@ # folder for backups repo -backups -.bin/logs -.gnupg -.local -.cache +backups/ +bin/logs/ +.gnupg/ +.local/ +.cache/ .bash_history #.bak # backup and temporary files diff --git a/bin/ros-diff.sh b/bin/ros-diff.sh index fe492f9..be2c8c6 100755 --- a/bin/ros-diff.sh +++ b/bin/ros-diff.sh @@ -349,8 +349,8 @@ check_directory() { #exit 0 backup_binary() { local bin_name="${1}" - local crypt="${DEFAULT_BIN_CRYPT}" - local bin_pass="${DEFAULT_BINPWD}" + local crypt="${2:-$DEFAULT_BIN_CRYPT}" + local bin_pass="${3:-$DEFAULT_BINPWD}" local log_msg local crypt_str #${SSH_STR} :put [/system script environment get [find name=BackupPassword] value]; -- 2.52.0