From 8cf36e6f7ecf4f66646fae0c111a676947cd0414 Mon Sep 17 00:00:00 2001 From: Adam Warner Date: Wed, 10 Feb 2021 17:31:31 +0000 Subject: [PATCH] Remove chmod of no longer used file Signed-off-by: Adam Warner --- bash_functions.sh | 2 -- 1 file changed, 2 deletions(-) diff --git a/bash_functions.sh b/bash_functions.sh index 520c5b0..d9a00a5 100644 --- a/bash_functions.sh +++ b/bash_functions.sh @@ -27,8 +27,6 @@ prepare_configs() { chown pihole:root /etc/lighttpd chown pihole:pihole "${PI_HOLE_CONFIG_DIR}/pihole-FTL.conf" "/var/log/pihole" "${regexFile}" chmod 644 "${PI_HOLE_CONFIG_DIR}/pihole-FTL.conf" - # not sure why pihole:pihole user/group write perms are not enough for web to write...dirty fix: - chmod 777 "${regexFile}" touch /var/log/pihole-FTL.log /run/pihole-FTL.pid /run/pihole-FTL.port /var/log/pihole.log chown pihole:pihole /var/run/pihole /var/log/pihole test -f /var/run/pihole/FTL.sock && rm /var/run/pihole/FTL.sock