updated port

This commit is contained in:
2026-04-30 01:34:00 +00:00
parent 82bcc593f3
commit 59d49fe43d

View File

@@ -2,12 +2,12 @@
mkdir -p /root/scripts/restic > /dev/null 2>&1
rm /root/scripts/restic/* > /dev/null 2>&1
wget -q http://192.168.1.50:81/restic/restic-sftp/restic-sftp-backup.sh -P /root/scripts/restic
wget -q http://192.168.1.50:81/restic/restic-sftp/export-etc.sh -P /root/scripts/restic
wget -q http://192.168.1.50:81/restic/restic-sftp/export-home-akanealw.sh -P /root/scripts/restic
wget -q http://192.168.1.50:81/restic/restic-sftp/export-opt.sh -P /root/scripts/restic
wget -q http://192.168.1.50:81/restic/restic-sftp/export-root.sh -P /root/scripts/restic
wget -q http://192.168.1.50:81/restic/restic-sftp/restic-sftp-init.sh -P /root/scripts/restic
wget -q http://192.168.1.50:83/restic/restic-sftp/restic-sftp-backup.sh -P /root/scripts/restic
wget -q http://192.168.1.50:83/restic/restic-sftp/export-etc.sh -P /root/scripts/restic
wget -q http://192.168.1.50:83/restic/restic-sftp/export-home-akanealw.sh -P /root/scripts/restic
wget -q http://192.168.1.50:83/restic/restic-sftp/export-opt.sh -P /root/scripts/restic
wget -q http://192.168.1.50:83/restic/restic-sftp/export-root.sh -P /root/scripts/restic
wget -q http://192.168.1.50:83/restic/restic-sftp/restic-sftp-init.sh -P /root/scripts/restic
chmod +x /root/scripts/restic/*
sed -i "s/changemepls/$(cat /etc/hostname | tr '[:upper:]' '[:lower:]')/g" /root/scripts/restic/*