From 0bc4f80a8b7495566c3cbf6ba0e4e662b6778f34 Mon Sep 17 00:00:00 2001 From: "Arnaud G. GIBERT" Date: Sun, 25 May 2025 11:53:01 +0200 Subject: [PATCH] - Fix WebUi plugin not enabled with default config. --- Dockerfile | 3 +++ ReleaseNotes.txt | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 6fd741a..19a42f5 100644 --- a/Dockerfile +++ b/Dockerfile @@ -36,6 +36,9 @@ if [[ ! -f '${DELUGE_CONFIG}'/auth ]] then \n\ cp -R '${DELUGE_CONFIG_TEMPLATE}'/* '${DELUGE_CONFIG}' \n\ \n\ + hash="$(head -c 256 /dev/urandom | base64 | tr -dc '0-9a-f' | cut -c1-41)" \n\ + echo "localclient:${hash}:10" >> '${DELUGE_CONFIG}'/auth \n\ + \n\ sed -e "s/DELUGE_PORT_BT_LOW/${DELUGE_PORT_BT_LOW}/" -i '${DELUGE_CONFIG}'/core.conf \n\ sed -e "s/DELUGE_PORT_BT_HIGH/${DELUGE_PORT_BT_HIGH}/" -i '${DELUGE_CONFIG}'/core.conf \n\ fi \n\ diff --git a/ReleaseNotes.txt b/ReleaseNotes.txt index bd11d03..1d363a1 100644 --- a/ReleaseNotes.txt +++ b/ReleaseNotes.txt @@ -1,5 +1,5 @@ ------------------------------------------------------------------------------------------------------------------------------------ -Rx3-Docker/Deluge V 1.0.0 - A. GIBERT - 2025/05/24 +Rx3-Docker/Deluge V 1.0.0 - A. GIBERT - 2025/05/25 ------------------------------------------------------------------------------------------------------------------------------------ - Initial release,