Gravity.sh checks for null value for variables, obliging that expectation.
This commit is contained in:
@ -18,8 +18,6 @@
|
|||||||
|
|
||||||
set -e
|
set -e
|
||||||
######## VARIABLES #########
|
######## VARIABLES #########
|
||||||
|
|
||||||
|
|
||||||
tmpLog=/tmp/pihole-install.log
|
tmpLog=/tmp/pihole-install.log
|
||||||
instalLogLoc=/etc/pihole/install.log
|
instalLogLoc=/etc/pihole/install.log
|
||||||
setupVars=/etc/pihole/setupVars.conf
|
setupVars=/etc/pihole/setupVars.conf
|
||||||
@ -31,8 +29,8 @@ piholeFilesDir="/etc/.pihole"
|
|||||||
|
|
||||||
useUpdateVars=false
|
useUpdateVars=false
|
||||||
|
|
||||||
IPv4_address="Not Used"
|
IPv4_address=""
|
||||||
IPv6_address="Not Used"
|
IPv6_address=""
|
||||||
|
|
||||||
# Find the rows and columns
|
# Find the rows and columns
|
||||||
rows=$(tput lines)
|
rows=$(tput lines)
|
||||||
|
Reference in New Issue
Block a user