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