🗃️ Committing everything that changed 🗃️

rootfs/root/docker/setup/05-custom.sh
This commit is contained in:
casjay 2025-01-06 14:25:17 -05:00
parent 1ae777c1d4
commit b0ada3709e
Signed by untrusted user who does not match committer: jason
GPG Key ID: 1AB309F42A764145

View File

@ -25,9 +25,10 @@ set -o pipefail
# Set env variables
exitCode=0
tor_bin="$(type -P tor)"
tor_dir=$(dirname "$tor_bin")
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
# Predefined actions
for tor_service in server relay bridge hidden; do cp -Rf $tor_bin tor-$tor_service; done
for tor_service in server relay bridge hidden; do cp -Rf "$tor_bin" "$tor_dir/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