]> git.feebdaed.xyz Git - 0xmirror/pi-hole.git/commitdiff
Remove `readonly` from list.sh to avoid errors
authorRD WebDesign <github@rdwebdesign.com.br>
Tue, 15 Jul 2025 00:20:39 +0000 (21:20 -0300)
committerGitHub <noreply@github.com>
Tue, 15 Jul 2025 00:20:39 +0000 (21:20 -0300)
Signed-off-by: RD WebDesign <github@rdwebdesign.com.br>
advanced/Scripts/list.sh

index fa356f16b0221fc87ace81dc7bce2cfb82a230e6..c5a80ad2d3153f91a018f4469a12c2004b02bd90 100755 (executable)
@@ -9,12 +9,12 @@
 # This file is copyright under the latest version of the EUPL.
 # Please see LICENSE file for your rights under this license.
 
-readonly PI_HOLE_SCRIPT_DIR="/opt/pihole"
-readonly utilsfile="${PI_HOLE_SCRIPT_DIR}/utils.sh"
+PI_HOLE_SCRIPT_DIR="/opt/pihole"
+utilsfile="${PI_HOLE_SCRIPT_DIR}/utils.sh"
 # shellcheck source="./advanced/Scripts/utils.sh"
 source "${utilsfile}"
 
-readonly apifile="${PI_HOLE_SCRIPT_DIR}/api.sh"
+apifile="${PI_HOLE_SCRIPT_DIR}/api.sh"
 # shellcheck source="./advanced/Scripts/api.sh"
 source "${apifile}"