From 809a1f57bbb50ad161c3bb7f86e595683fe566fc Mon Sep 17 00:00:00 2001 From: ITmail-dk Date: Tue, 22 Nov 2022 17:13:39 +0100 Subject: [PATCH] ADD Syncthing install --- scripts-install/install-syncthing.sh | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 scripts-install/install-syncthing.sh diff --git a/scripts-install/install-syncthing.sh b/scripts-install/install-syncthing.sh new file mode 100644 index 0000000..c77197f --- /dev/null +++ b/scripts-install/install-syncthing.sh @@ -0,0 +1,22 @@ +#!/bin/bash + +# Install - Syncthing. +echo "-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-" +echo " " +echo " Download & Syncthing" +echo " " +echo " Enter your user password, to continue if necessary" +echo " " +echo " continues the installation in 2 seconds" +echo " " +echo "-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-" +sleep 1 + +sudo curl -o /usr/share/keyrings/syncthing-archive-keyring.gpg https://syncthing.net/release-key.gpg +sleep 1 + +echo "deb [signed-by=/usr/share/keyrings/syncthing-archive-keyring.gpg] https://apt.syncthing.net/ syncthing stable" | sudo tee /etc/apt/sources.list.d/syncthing.list + +sleep 1 + +sudo apt update && sudo apt install -y syncthing \ No newline at end of file