Install tor on mesh peers, but disable it by default

This commit is contained in:
Bob Mottram 2017-11-02 12:56:54 +00:00
parent 15bbcccec7
commit f816b7076f
2 changed files with 7 additions and 0 deletions

View File

@ -682,6 +682,9 @@ initialise_mesh() {
chroot "$rootdir" apt-get -yq install apt-transport-https chroot "$rootdir" apt-get -yq install apt-transport-https
# install tor as a possible way of routing traffic between internet gateways
chroot "$rootdir" apt-get -yq install tor
configure_firewall configure_firewall
install_avahi install_avahi
install_batman install_batman

View File

@ -1012,6 +1012,10 @@ if [ -f $MESH_INSTALL_SETUP ]; then
chown ${MY_USERNAME}:${MY_USERNAME} /home/$MY_USERNAME/.config chown ${MY_USERNAME}:${MY_USERNAME} /home/$MY_USERNAME/.config
fi fi
systemctl tor stop
systemctl tor disable
echo $'TOR disabled' >> $INSTALL_LOG
#tomb slam all #tomb slam all
tmp_ram_disk 100 tmp_ram_disk 100
enable_predictable_device_names enable_predictable_device_names