Updated info in all scripts

This commit is contained in:
2026-03-23 23:10:03 +00:00
parent 700614d4bf
commit efb35cd9c4
5 changed files with 47 additions and 24 deletions
+20 -15
View File
@@ -1,12 +1,22 @@
#!/bin/bash
##################################################################################################
############################## Master Variables for unRAID scripts ################################
##################################################################################################
#-----------------------------------------------------------------------------------------------
#----------------------------- Host and Remote Detection ---------------------------------------
#----------------------------- Master Variables for unRAID scripts -----------------------------
#-----------------------------------------------------------------------------------------------
#----------------- User Variables, Please adjust here in Master.conf as needed -----------------
#-----------------------------------------------------------------------------------------------
# This is the master.conf file, it contains all the variables used by
# all scripts. It is sourced by each script at runtime, so any changes here will
# affect all scripts immediately. This is where you should adjust any settings or variables
# that you want to apply globally across all your scripts
#
#This allows for one centralized location for all your configurations, making it easier to manage
# and maintain your scripts. You can adjust the variables below as needed.
#
#-----------------------------------------------------------------------------------------------
#---------------End Of User Variables, Please adjust here in Master.conf as needed -------------
#-----------------------------------------------------------------------------------------------
# Host and Remote Detection
# Define the hostnames of both servers
HOST1="unRAID-Gmer4Lfe"
HOST2="unRAID-Jayred365"
@@ -25,9 +35,8 @@ fi
echo "Local server: $LOCAL_SERVER_NAME"
echo "Remote server: $REMOTE_SERVER_NAME"
#-----------------------------------------------------------------------------------------------
#--------------------------- Remote Server Ip Resolution ----------------------------------------
#-----------------------------------------------------------------------------------------------
# Remote Server Ip Resolution
# Resolve Tailscale IP dynamically
REMOTE_SERVER=$(tailscale ip -4 "$REMOTE_SERVER_NAME" 2>/dev/null)
if [[ -z "$REMOTE_SERVER" ]]; then
@@ -35,11 +44,8 @@ if [[ -z "$REMOTE_SERVER" ]]; then
exit 1
fi
#-----------------------------------------------------------------------------------------------
#----------------------------- SSH Key Mapping --------------------------------------------------
#-----------------------------------------------------------------------------------------------
declare -A SSH_KEYS
# SSH Key Mapping
SSH_KEYS["$HOST1|$HOST2"]="/root/.ssh/Gmer4Lfe-rsync-key"
SSH_KEYS["$HOST2|$HOST1"]="/root/.ssh/Jayred365-rsync-key"
@@ -73,9 +79,8 @@ DELAYED_CONTAINERS=("")
CONTAINER_DELAY=5
# Not include logs during transfer
EXCLUDE_DIRS=("")
#-----------------------------------------------------------------------------------------------
#----------------------------- Profile System ---------------------------------------------------
#-----------------------------------------------------------------------------------------------
#
# Profile System
# Profiles are inferred from the directory basename (lowercased)
# Max rsync processes per profile