updated urls

This commit is contained in:
2025-05-21 22:51:29 +00:00
parent 614908df2e
commit d6c1782a40
7 changed files with 34 additions and 34 deletions

View File

@@ -9,18 +9,18 @@ rm /root/scripts/proxmox-* > /dev/null 2>&1
# check for pve directory # check for pve directory
if [[ -d /etc/pve ]] ; then if [[ -d /etc/pve ]] ; then
wget -qO /root/scripts/proxmox-pve-essentials.sh http://192.168.1.50/scripts/proxmox/proxmox-pve-essentials.sh wget -qO /root/scripts/proxmox-pve-essentials.sh http://192.168.1.50:81/proxmox/proxmox-pve-essentials.sh
wget -qO /root/scripts/proxmox-post-pve-install.sh http://192.168.1.50/scripts/proxmox/proxmox-post-pve-install.sh wget -qO /root/scripts/proxmox-post-pve-install.sh http://192.168.1.50:81/proxmox/proxmox-post-pve-install.sh
wget -qO /root/scripts/proxmox-kernel-clean.sh http://192.168.1.50/scripts/proxmox/proxmox-kernel-clean.sh wget -qO /root/scripts/proxmox-kernel-clean.sh http://192.168.1.50:81/proxmox/proxmox-kernel-clean.sh
chmod +x /root/scripts/proxmox-*.sh chmod +x /root/scripts/proxmox-*.sh
/root/scripts/proxmox-pve-essentials.sh /root/scripts/proxmox-pve-essentials.sh
fi fi
# check for pbs directory # check for pbs directory
if [[ -d /etc/proxmox-backup ]] ; then if [[ -d /etc/proxmox-backup ]] ; then
wget -qO /root/scripts/proxmox-pbs-essentials.sh http://192.168.1.50/scripts/proxmox/proxmox-pbs-essentials.sh wget -qO /root/scripts/proxmox-pbs-essentials.sh http://192.168.1.50:81/proxmox/proxmox-pbs-essentials.sh
wget -qO /root/scripts/proxmox-post-pbs-install.sh http://192.168.1.50/scripts/proxmox/proxmox-post-pbs-install.sh wget -qO /root/scripts/proxmox-post-pbs-install.sh http://192.168.1.50:81/proxmox/proxmox-post-pbs-install.sh
wget -qO /root/scripts/proxmox-kernel-clean.sh http://192.168.1.50/scripts/proxmox/proxmox-kernel-clean.sh wget -qO /root/scripts/proxmox-kernel-clean.sh http://192.168.1.50:81/proxmox/proxmox-kernel-clean.sh
chmod +x /root/scripts/proxmox-*.sh chmod +x /root/scripts/proxmox-*.sh
/root/scripts/proxmox-pbs-essentials.sh /root/scripts/proxmox-pbs-essentials.sh
fi fi

View File

@@ -17,7 +17,7 @@ apt-get install -y hstr htop ncdu proxmox-backup sudo pwgen curl wget zip unzip
# set input preferences # set input preferences
if [[ ! -f /etc/inputrc.default ]] if [[ ! -f /etc/inputrc.default ]]
then wget -qO /etc/inputrc.default http://192.168.1.50/files/debian/inputrc.default then wget -qO /etc/inputrc.default http://192.168.1.50/debian/inputrc.default
fi fi
rm /etc/inputrc > /dev/null 2>&1 rm /etc/inputrc > /dev/null 2>&1
cp /etc/inputrc.default /etc/inputrc cp /etc/inputrc.default /etc/inputrc
@@ -26,7 +26,7 @@ echo "set completion-ignore-case On" >> /etc/inputrc
# set bash preferences and aliases # set bash preferences and aliases
if [[ ! -f /etc/bash.bashrc.default ]] if [[ ! -f /etc/bash.bashrc.default ]]
then wget -qO /etc/bash.bashrc.default http://192.168.1.50/files/debian/bash.bashrc.default then wget -qO /etc/bash.bashrc.default http://192.168.1.50/debian/bash.bashrc.default
fi fi
rm /etc/bash.bashrc > /dev/null 2>&1 rm /etc/bash.bashrc > /dev/null 2>&1
cp /etc/bash.bashrc.default /etc/bash.bashrc cp /etc/bash.bashrc.default /etc/bash.bashrc

View File

@@ -26,7 +26,7 @@ rm /etc/motd > /dev/null 2>&1
# set input preferences # set input preferences
if [[ ! -f /etc/inputrc.default ]] if [[ ! -f /etc/inputrc.default ]]
then wget -qO /etc/inputrc.default http://192.168.1.50/files/debian/inputrc.default then wget -qO /etc/inputrc.default http://192.168.1.50/debian/inputrc.default
fi fi
rm /etc/inputrc > /dev/null 2>&1 rm /etc/inputrc > /dev/null 2>&1
cp /etc/inputrc.default /etc/inputrc cp /etc/inputrc.default /etc/inputrc
@@ -35,7 +35,7 @@ echo "set completion-ignore-case On" >> /etc/inputrc
# set bash preferences and aliases # set bash preferences and aliases
if [[ ! -f /etc/bash.bashrc.default ]] if [[ ! -f /etc/bash.bashrc.default ]]
then wget -qO /etc/bash.bashrc.default http://192.168.1.50/files/debian/bash.bashrc.default then wget -qO /etc/bash.bashrc.default http://192.168.1.50/debian/bash.bashrc.default
fi fi
rm /etc/bash.bashrc > /dev/null 2>&1 rm /etc/bash.bashrc > /dev/null 2>&1
cp /etc/bash.bashrc.default /etc/bash.bashrc cp /etc/bash.bashrc.default /etc/bash.bashrc

View File

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

View File

@@ -8,11 +8,11 @@ rm /root/scripts/wrestic-backup-to-truenas.sh > /dev/null 2>&1
mkdir -p /root/scripts/restic > /dev/null 2>&1 mkdir -p /root/scripts/restic > /dev/null 2>&1
rm /root/scripts/restic/* > /dev/null 2>&1 rm /root/scripts/restic/* > /dev/null 2>&1
wget -q http://192.168.1.50/scripts/restic/restic-lxc/restic-lxc-backup.sh -P /root/scripts/restic wget -q http://192.168.1.50:81/restic/restic-lxc/restic-lxc-backup.sh -P /root/scripts/restic
wget -q http://192.168.1.50/scripts/restic/restic-lxc/export-etc.sh -P /root/scripts/restic wget -q http://192.168.1.50:81/restic/restic-lxc/export-etc.sh -P /root/scripts/restic
wget -q http://192.168.1.50/scripts/restic/restic-lxc/export-home-akanealw.sh -P /root/scripts/restic wget -q http://192.168.1.50:81/restic/restic-lxc/export-home-akanealw.sh -P /root/scripts/restic
wget -q http://192.168.1.50/scripts/restic/restic-lxc/export-opt.sh -P /root/scripts/restic wget -q http://192.168.1.50:81/restic/restic-lxc/export-opt.sh -P /root/scripts/restic
wget -q http://192.168.1.50/scripts/restic/restic-lxc/export-root.sh -P /root/scripts/restic wget -q http://192.168.1.50:81/restic/restic-lxc/export-root.sh -P /root/scripts/restic
wget -q http://192.168.1.50/scripts/restic/restic-lxc/restic-lxc-init.sh -P /root/scripts/restic wget -q http://192.168.1.50:81/restic/restic-lxc/restic-lxc-init.sh -P /root/scripts/restic
chmod +x /root/scripts/restic/* chmod +x /root/scripts/restic/*

View File

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

View File

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