From 7250709f06bbaa57ad3c0811a743d4f229a1a2e7 Mon Sep 17 00:00:00 2001 From: casjay Date: Mon, 6 Jan 2025 14:11:42 -0500 Subject: [PATCH] =?UTF-8?q?=F0=9F=97=83=EF=B8=8F=20Committing=20everything?= =?UTF-8?q?=20that=20changed=20=F0=9F=97=83=EF=B8=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit rootfs/root/docker/setup/05-custom.sh --- rootfs/root/docker/setup/05-custom.sh | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/rootfs/root/docker/setup/05-custom.sh b/rootfs/root/docker/setup/05-custom.sh index 8015086..07727e3 100755 --- a/rootfs/root/docker/setup/05-custom.sh +++ b/rootfs/root/docker/setup/05-custom.sh @@ -24,12 +24,10 @@ set -o pipefail # - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - # Set env variables exitCode=0 -tor_bin="$(type -p tor)" -for s in server relay bridge hidden; do - cp -Rf tor tor-$s -done +tor_bin="$(type -P tor)" # - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - # Predefined actions +for tor_service in server relay bridge hidden; do cp -Rf $tor_bin tor-$tor_service; done [ -f "/etc/privoxy/trust.new" ] && mv -f /etc/privoxy/trust.new /etc/privoxy/trust [ -f "/etc/privoxy/user.action.new" ] && mv -f /etc/privoxy/user.action.new /etc/privoxy/user.action [ -f "/etc/privoxy/user.filter.new" ] && mv -f /etc/privoxy/user.filter.new /etc/privoxy/user.filter