mirror of
https://github.com/linuxserver/docker-transmission.git
synced 2025-11-01 17:35:46 +01:00
full path to settings.json
This commit is contained in:
@@ -1,7 +1,7 @@
|
|||||||
#!/usr/bin/with-contenv bash
|
#!/usr/bin/with-contenv bash
|
||||||
|
|
||||||
BLOCKLIST_ENABLED=`jq -r '.["blocklist-enabled"]' settings.json`
|
BLOCKLIST_ENABLED=`jq -r '.["blocklist-enabled"]' /config/settings.json`
|
||||||
BLOCKLIST_URL=`jq -r '.["blocklist-url"]' settings.json | sed 's/\&/\&/g'`
|
BLOCKLIST_URL=`jq -r '.["blocklist-url"]' /config/settings.json | sed 's/\&/\&/g'`
|
||||||
|
|
||||||
if [ $BLOCKLIST_ENABLED == true ]; then
|
if [ $BLOCKLIST_ENABLED == true ]; then
|
||||||
mkdir -p /tmp/blocklists
|
mkdir -p /tmp/blocklists
|
||||||
|
|||||||
Reference in New Issue
Block a user