From ec85afc191e14a00f22b943764798b9aeb7cb82f Mon Sep 17 00:00:00 2001 From: David Schroeder Date: Sun, 30 Mar 2025 09:21:35 -0500 Subject: [PATCH] update --- defaults.inc | 2 +- linupx-scripts.sh | 15 ++------------- 2 files changed, 3 insertions(+), 14 deletions(-) diff --git a/defaults.inc b/defaults.inc index c93d719..07cc83e 100755 --- a/defaults.inc +++ b/defaults.inc @@ -2,7 +2,7 @@ action="$1" FOLDER='/opt/idssys/linupx' -VERS='6.60.34-03302025' +VERS='6.60.35-03302025' IPERFVER="3.15" diff --git a/linupx-scripts.sh b/linupx-scripts.sh index daca844..35e9bee 100755 --- a/linupx-scripts.sh +++ b/linupx-scripts.sh @@ -179,18 +179,6 @@ DOCKER_UPDATE(){ ENTER2CONTINUE } -SYNCTHING_APT_UPDATE(){ - if [ -f /etc/apt/sources.list.d/syncthing.list ] && [ ! -f /etc/apt/keyrings/syncthing-archive-keyring.gpg ]; then - rm -f "/etc/apt/sources.list.d/*syncthing*" - rm -f "/etc/apt/keyrings/*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() { bash <(curl -sL https://git.schroedercity.com/voltron/Misc-Scripts/raw/branch/master/update-dns.sh) ${1} echo @@ -343,7 +331,7 @@ SYNCTHING_INSTALL() { sudo 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 ${APTFUNC} update - ${APTFUNC} install syncthing + ${APTFUNC} install -y syncthing echo -e "[Unit] Description=Syncthing - Open Source Continuous File Synchronization for %I Documentation=man:syncthing(1) @@ -365,6 +353,7 @@ WantedBy=multi-user.target echo -e "${idsCL[Green]}Syncthing has been Installed, you can access at http://${RNIP}:8384${idsCL[Default]}" [ ${action-x} ] && exit 0 ENTER2CONTINUE + ;; esac } REMOVEFLOPPY() {