fixed port

This commit is contained in:
2026-05-03 08:03:03 +00:00
parent 79578c3232
commit 4dab5afca6
+6 -6
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-local/restic-local-backup.sh -P /root/scripts/restic
wget -q http://192.168.1.50:81/restic/restic-local/export-etc.sh -P /root/scripts/restic
wget -q http://192.168.1.50:81/restic/restic-local/export-home-akanealw.sh -P /root/scripts/restic
wget -q http://192.168.1.50:81/restic/restic-local/export-opt.sh -P /root/scripts/restic
wget -q http://192.168.1.50:81/restic/restic-local/export-root.sh -P /root/scripts/restic
wget -q http://192.168.1.50:81/restic/restic-local/restic-local-init.sh -P /root/scripts/restic
wget -q http://192.168.1.50:83/restic/restic-local/restic-local-backup.sh -P /root/scripts/restic
wget -q http://192.168.1.50:83/restic/restic-local/export-etc.sh -P /root/scripts/restic
wget -q http://192.168.1.50:83/restic/restic-local/export-home-akanealw.sh -P /root/scripts/restic
wget -q http://192.168.1.50:83/restic/restic-local/export-opt.sh -P /root/scripts/restic
wget -q http://192.168.1.50:83/restic/restic-local/export-root.sh -P /root/scripts/restic
wget -q http://192.168.1.50:83/restic/restic-local/restic-local-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/*