+ 0_download_scripts.sh
This commit is contained in:
24
scr/0_download_scripts.sh
Executable file
24
scr/0_download_scripts.sh
Executable file
@@ -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
|
||||
Reference in New Issue
Block a user