From e730b5fd934032242d218e2c79fffacdb60a19bc Mon Sep 17 00:00:00 2001 From: Silvio Rhatto Date: Fri, 2 Aug 2024 22:00:07 -0300 Subject: Fix: minor provisioning corrections --- share/provision/debian/tor-browser | 2 +- share/provision/debian/webserver | 8 ++++++++ 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/share/provision/debian/tor-browser b/share/provision/debian/tor-browser index 05218cd..baf231d 100755 --- a/share/provision/debian/tor-browser +++ b/share/provision/debian/tor-browser @@ -30,7 +30,7 @@ APT_INSTALL="sudo LC_ALL=C DEBIAN_FRONTEND=noninteractive apt-get install -y" $DIRNAME/web-basic $HOSTNAME $DOMAIN $MIRROR # Use a stacked window manager to reduce browser fingerprinting -$DIRNAME/openbox +$DIRNAME/openbox $HOSTNAME $DOMAIN $MIRROR # Install Tor Browser # No need to install tor-browser during provision, as the tor-browser script diff --git a/share/provision/debian/webserver b/share/provision/debian/webserver index 650452f..9098007 100755 --- a/share/provision/debian/webserver +++ b/share/provision/debian/webserver @@ -18,5 +18,13 @@ # along with this program. If not, see . # +# Parameters +DIRNAME="`dirname $0`" +BASENAME="`basename $0`" +HOSTNAME="$1" +DOMAIN="$2" +MIRROR="$3" + +# Run sudo apt-get update && sudo apt-get upgrade -y && sudo apt-get autoremove -y && sudo apt-get clean sudo apt-get install -y apache2 -- cgit v1.2.3