update
This commit is contained in:
@@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
action="$1"
|
action="$1"
|
||||||
FOLDER='/opt/idssys/linupx'
|
FOLDER='/opt/idssys/linupx'
|
||||||
VERS='6.60.33-03202025'
|
VERS='6.60.34-03302025'
|
||||||
|
|
||||||
IPERFVER="3.15"
|
IPERFVER="3.15"
|
||||||
|
|
||||||
|
|||||||
@@ -179,6 +179,17 @@ DOCKER_UPDATE(){
|
|||||||
ENTER2CONTINUE
|
ENTER2CONTINUE
|
||||||
}
|
}
|
||||||
|
|
||||||
|
SYNCTHING_APT_UPDATE(){
|
||||||
|
if [ -f /etc/apt/sources.list.d/*syncthing* ] && [ ! -f /etc/apt/keyrings/syncthing-archive-keyring.gpg ]; then
|
||||||
|
rm -f /etc/apt/sources.list.d/*syncthing*
|
||||||
|
mkdir -p /etc/apt/keyrings
|
||||||
|
curl -L -o /etc/apt/keyrings/syncthing-archive-keyring.gpg https://syncthing.net/release-key.gpg
|
||||||
|
echo "deb [signed-by=/etc/apt/keyrings/syncthing-archive-keyring.gpg] https://apt.syncthing.net/ syncthing stable" | sudo tee /etc/apt/sources.list.d/syncthing.list
|
||||||
|
apt update
|
||||||
|
apt install -y syncthing
|
||||||
|
fi
|
||||||
|
}
|
||||||
|
|
||||||
DNSUPDATE() {
|
DNSUPDATE() {
|
||||||
bash <(curl -sL https://git.schroedercity.com/voltron/Misc-Scripts/raw/branch/master/update-dns.sh) ${1}
|
bash <(curl -sL https://git.schroedercity.com/voltron/Misc-Scripts/raw/branch/master/update-dns.sh) ${1}
|
||||||
echo
|
echo
|
||||||
@@ -1218,6 +1229,7 @@ if [ ${action-x} ]; then
|
|||||||
netdataremove) NETDATA_UNINSTALL;;
|
netdataremove) NETDATA_UNINSTALL;;
|
||||||
watchtower) INSTALL_WATCHTOWER ${2};;
|
watchtower) INSTALL_WATCHTOWER ${2};;
|
||||||
docker-cleanup) DOCKER_CLEANUP;;
|
docker-cleanup) DOCKER_CLEANUP;;
|
||||||
|
syncthing-update) SYNCTHING_APT_UPDATE;;
|
||||||
# *) echo "Thats an invaild option,";
|
# *) echo "Thats an invaild option,";
|
||||||
# exit 1;;
|
# exit 1;;
|
||||||
esac
|
esac
|
||||||
|
|||||||
Reference in New Issue
Block a user