Alters the test for IPv4 route so the installer doesn't fail instantly on IPv6-only.
Gives user a dialog to proceed with IPv6 only installation
Switches DNS server options to only contain IPv6 addresses.
Signed-off-by: Rob Gill <rrobgill@protonmail.com>
readonly ADMIN_INTERFACE_DIR=$(getFTLConfigValue "webserver.paths.webroot")$(getFTLConfigValue "webserver.paths.webhome")
^-----------------^ SC2155 (warning): Declare and assign separately to avoid masking return values.
In ./advanced/Scripts/update.sh line 39:
readonly ADMIN_INTERFACE_DIR=$(getFTLConfigValue "webserver.paths.webroot")$(getFTLConfigValue "webserver.paths.webhome")
^-----------------^ SC2155 (warning): Declare and assign separately to avoid masking return values.
In ./advanced/Scripts/updatecheck.sh line 45:
readonly ADMIN_INTERFACE_DIR=$(getFTLConfigValue "webserver.paths.webroot")$(getFTLConfigValue "webserver.paths.webhome")
^-----------------^ SC2155 (warning): Declare and assign separately to avoid masking return values.
Signed-off-by: Adam Warner <me@adamwarner.co.uk>
source "${colfile}"
^----------^ SC1090 (warning): ShellCheck can't follow non-constant source. Use a directive to specify location.
In ./pihole line 23:
source "${utilsfile}"
^------------^ SC1090 (warning): ShellCheck can't follow non-constant source. Use a directive to specify location.
In ./pihole line 27:
source "${apifile}"
^----------^ SC1090 (warning): ShellCheck can't follow non-constant source. Use a directive to specify location.
In ./pihole line 34:
source "${versionsfile}"
^---------------^ SC1090 (warning): ShellCheck can't follow non-constant source. Use a directive to specify location.
In ./pihole line 251:
local timer="$(echo "${data}"| jq --raw-output '.timer' )"
^---^ SC2155 (warning): Declare and assign separately to avoid masking return values.
In ./pihole line 255:
local str="Pi-hole $(echo "${data}" | jq --raw-output '.blocking')${extra}"
^-^ SC2155 (warning): Declare and assign separately to avoid masking return values.
In ./pihole line 378:
local logging_enabled=$(getFTLConfigValue dns.queryLogging)
^-------------^ SC2155 (warning): Declare and assign separately to avoid masking return values.
In ./pihole line 385:
readonly LOGFILE=$(getFTLConfigValue files.log.dnsmasq)
^-----^ SC2155 (warning): Declare and assign separately to avoid masking return values.
Signed-off-by: Adam Warner <me@adamwarner.co.uk>
source ${colfile}
^--------^ SC1090 (warning): ShellCheck can't follow non-constant source. Use a directive to specify location.
In ./advanced/Scripts/piholeLogFlush.sh line 16:
source "${utilsfile}"
^------------^ SC1090 (warning): ShellCheck can't follow non-constant source. Use a directive to specify location.
Signed-off-by: Adam Warner <me@adamwarner.co.uk>