From 9017f844da41955bc806737cd40be7c7df8d0858 Mon Sep 17 00:00:00 2001 From: fro Date: Sun, 26 Oct 2025 17:21:27 -0500 Subject: [PATCH] + 0_download_scripts.sh --- scr/0_download_scripts.sh | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100755 scr/0_download_scripts.sh diff --git a/scr/0_download_scripts.sh b/scr/0_download_scripts.sh new file mode 100755 index 0000000..ea2e91d --- /dev/null +++ b/scr/0_download_scripts.sh @@ -0,0 +1,24 @@ +#!/bin/bash + +# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - +# downloads all needed scripts / frode klevstul / oct 2025 +# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + +if [ "$EUID" -ne 0 ] + then echo "error: run as 'root'" + exit +fi + +base_url_scr=https://gt.op.fo/fro/srv-pub/raw/branch/master/scr + +rm /tmp/*.sh +cd /tmp/ +wget ${base_url_scr}/0_download_scripts.sh +#wget ${base_url_scr}/1_upd_install.sh +#wget ${base_url_scr}/2_create_user.sh +#wget ${base_url_scr}/3_acmesh.sh +#wget ${base_url_scr}/4_https.sh +#wget ${base_url_scr}/5_add_www_root.sh +#wget ${base_url_scr}/6_populate_www_root.sh +#wget ${base_url_scr}/7_nginx_add_site.sh +chmod 755 /tmp/*.sh