update
This commit is contained in:
10
defaults.inc
10
defaults.inc
@@ -3,7 +3,7 @@
|
|||||||
|
|
||||||
action="$1"
|
action="$1"
|
||||||
FOLDER='/opt/idssys/ta-proxmenu'
|
FOLDER='/opt/idssys/ta-proxmenu'
|
||||||
VERS='2026.3.11-1'
|
VERS='2026.3.13-1'
|
||||||
|
|
||||||
RNIP=$(ip addr show $(ip route | awk '/default/ { print $5 }') | grep "inet" | head -n 1 | awk '/inet/ {print $2}' | cut -d'/' -f1)
|
RNIP=$(ip addr show $(ip route | awk '/default/ { print $5 }') | grep "inet" | head -n 1 | awk '/inet/ {print $2}' | cut -d'/' -f1)
|
||||||
|
|
||||||
@@ -13,3 +13,11 @@ while redirect_url=$( curl -I -s -S -f -w "%{redirect_url}\\n" -o /dev/null "${u
|
|||||||
done
|
done
|
||||||
VIRTIO_FILE=${VIRTIO_DOWNLOAD_URL##*/}
|
VIRTIO_FILE=${VIRTIO_DOWNLOAD_URL##*/}
|
||||||
|
|
||||||
|
|
||||||
|
if [ -f /etc/apt/sources.list.d/gyptazy.list ]; then
|
||||||
|
rm -f /etc/apt/sources.list.d/gyptazy.list /etc/apt/keyrings/gyptazy.asc
|
||||||
|
echo "deb https://repo.gyptazy.com/stable /" > /etc/apt/sources.list.d/proxlb.list
|
||||||
|
wget -O /etc/apt/trusted.gpg.d/proxlb.asc https://repo.gyptazy.com/repository.gpg
|
||||||
|
apt-get update
|
||||||
|
fi
|
||||||
|
|
||||||
|
|||||||
@@ -185,10 +185,10 @@ DOWNLOAD_VIRTIO() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
DETECT_CPU(){
|
DETECT_CPU(){
|
||||||
if [ ! -f /etc/apt/sources.list.d/gyptazy.list ]; then
|
if [ ! -f /etc/apt/sources.list.d/proxlb.list ]; then
|
||||||
curl https://git.gyptazy.com/api/packages/gyptazy/debian/repository.key -o /etc/apt/keyrings/gyptazy.asc
|
echo "deb https://repo.gyptazy.com/stable /" > /etc/apt/sources.list.d/proxlb.list
|
||||||
echo "deb [signed-by=/etc/apt/keyrings/gyptazy.asc] https://packages.gyptazy.com/api/packages/gyptazy/debian trixie main" | sudo tee -a /etc/apt/sources.list.d/gyptazy.list
|
wget -O /etc/apt/trusted.gpg.d/proxlb.asc https://repo.gyptazy.com/repository.gpg
|
||||||
apt update
|
apt-get update
|
||||||
fi
|
fi
|
||||||
apt -y install proxclmc
|
apt -y install proxclmc
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user