From 16de45e4fd2dbbcfa411de9e66b1a96647d904f4 Mon Sep 17 00:00:00 2001 From: Aiden McClelland Date: Thu, 24 Feb 2022 10:24:50 -0700 Subject: [PATCH] start with clean tor state --- build/initialization.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/build/initialization.sh b/build/initialization.sh index 32ed9aa03..261c81a1d 100755 --- a/build/initialization.sh +++ b/build/initialization.sh @@ -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