diff options
Diffstat (limited to 'share')
-rwxr-xr-x | share/provision/debian/tor-browser | 2 | ||||
-rwxr-xr-x | share/provision/debian/webserver | 8 |
2 files changed, 9 insertions, 1 deletions
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 <http://www.gnu.org/licenses/>. # +# 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 |