From 4ca9328382d0e22cbd4939cc95cc97896e20fb9b Mon Sep 17 00:00:00 2001 From: mrhotio <26902309+mrhotio@users.noreply.github.com> Date: Sun, 27 Aug 2023 23:05:22 +0200 Subject: [PATCH] init-hook --- root/init-hook | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 root/init-hook diff --git a/root/init-hook b/root/init-hook new file mode 100644 index 000000000..fc163d42a --- /dev/null +++ b/root/init-hook @@ -0,0 +1,6 @@ +#!/command/with-contenv bash +# shellcheck shell=bash + +if [[ "${PRIVOXY_ENABLED}" != true ]]; then + rm -rf /etc/s6-overlay/s6-rc.d/user/contents.d/service-privoxy +fi