From 73aa47d7dad7bcefc12a0141368038d47e65fc45 Mon Sep 17 00:00:00 2001 From: casjay Date: Wed, 22 Oct 2025 09:52:44 -0400 Subject: [PATCH] =?UTF-8?q?=F0=9F=97=83=EF=B8=8F=20Update=20codebase=20?= =?UTF-8?q?=F0=9F=97=83=EF=B8=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit rootfs/usr/local/etc/docker/init.d/01-tor-bridge.sh rootfs/usr/local/etc/docker/init.d/02-tor-relay.sh rootfs/usr/local/etc/docker/init.d/03-tor-server.sh --- rootfs/usr/local/etc/docker/init.d/01-tor-bridge.sh | 1 + rootfs/usr/local/etc/docker/init.d/02-tor-relay.sh | 1 + rootfs/usr/local/etc/docker/init.d/03-tor-server.sh | 1 + 3 files changed, 3 insertions(+) diff --git a/rootfs/usr/local/etc/docker/init.d/01-tor-bridge.sh b/rootfs/usr/local/etc/docker/init.d/01-tor-bridge.sh index 3e5fbec..5f7d65f 100755 --- a/rootfs/usr/local/etc/docker/init.d/01-tor-bridge.sh +++ b/rootfs/usr/local/etc/docker/init.d/01-tor-bridge.sh @@ -201,6 +201,7 @@ __run_precopy() { # Define environment local hostname=${HOSTNAME} # Define actions/commands + [ -d "$DATA_DIR" ] && mkdir -p "$DATA_DIR" # allow custom functions if builtin type -t __run_precopy_local | grep -q 'function'; then __run_precopy_local; fi diff --git a/rootfs/usr/local/etc/docker/init.d/02-tor-relay.sh b/rootfs/usr/local/etc/docker/init.d/02-tor-relay.sh index 0b680d8..cc2bf57 100755 --- a/rootfs/usr/local/etc/docker/init.d/02-tor-relay.sh +++ b/rootfs/usr/local/etc/docker/init.d/02-tor-relay.sh @@ -201,6 +201,7 @@ __run_precopy() { # Define environment local hostname=${HOSTNAME} # Define actions/commands + [ -d "$DATA_DIR" ] && mkdir -p "$DATA_DIR" # allow custom functions if builtin type -t __run_precopy_local | grep -q 'function'; then __run_precopy_local; fi diff --git a/rootfs/usr/local/etc/docker/init.d/03-tor-server.sh b/rootfs/usr/local/etc/docker/init.d/03-tor-server.sh index c0125b5..ea51560 100755 --- a/rootfs/usr/local/etc/docker/init.d/03-tor-server.sh +++ b/rootfs/usr/local/etc/docker/init.d/03-tor-server.sh @@ -201,6 +201,7 @@ __run_precopy() { # Define environment local hostname=${HOSTNAME} # Define actions/commands + [ -d "$DATA_DIR" ] && mkdir -p "$DATA_DIR" # allow custom functions if builtin type -t __run_precopy_local | grep -q 'function'; then __run_precopy_local; fi