Usage: pihole allow [options] <domain2 ...>
Example: 'pihole allow site.com', or 'pihole allow site1.com site2.com'
Allow one or more exact domains
Options:
remove, delete, -d Remove domain(s)
-q, --quiet Make output less verbose
-h, --help Show this help dialog
-l, --list Display domains
--comment "text" Add a comment to the domain. If adding multiple domains the same comment will be used for all
p
Unlike Core 6.1.2, these are hard failures and no results are produced.
In the meantime you can make these edits on the file yourself to get things functioning again.
diff --git a/advanced/Scripts/list.sh b/advanced/Scripts/list.sh
index fa356f16b..c5a80ad2d 100755
--- a/advanced/Scripts/list.sh
+++ b/advanced/Scripts/list.sh
@@ -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}"