start with clean tor state

This commit is contained in:
Aiden McClelland
2022-02-24 10:24:50 -07:00
committed by Aiden McClelland
parent 563172688c
commit 16de45e4fd

View File

@@ -81,6 +81,9 @@ else
head -c 16 /dev/urandom | xxd -p | sed 's/$/\n/' > /etc/machine-id
fi
systemctl stop tor
rm -rf /var/lib/tor/*
raspi-config nonint enable_overlayfs
# create a copy of the cmdline *without* the quirk string, so that it can be easily amended