Compare commits
5 Commits
Author | SHA1 | Date | |
---|---|---|---|
|
fc89851ce9 | ||
|
c4c6555814 | ||
|
df0087fb23 | ||
|
ef3c13fe2b | ||
|
49f48e2aaa |
@@ -58,7 +58,7 @@ else
|
||||
echo "::: Detecting the presence of the sudo utility for continuation of this install..."
|
||||
if [ -x "$(command -v sudo)" ];then
|
||||
echo "::: Utility sudo located."
|
||||
exec sudo bash "$0" "$@"
|
||||
exec curl -sSL https://install.pi-hole.net | sudo bash "$@"
|
||||
exit $?
|
||||
else
|
||||
echo "::: sudo is needed for the Web interface to run pihole commands. Please run this script as root and it will be automatically installed."
|
||||
|
@@ -37,7 +37,7 @@ if [[ -f ${setupVars} ]];then
|
||||
. /etc/pihole/setupVars.conf
|
||||
else
|
||||
echo "::: WARNING: /etc/pihole/setupVars.conf missing. Possible installation failure."
|
||||
echo "::: Please run 'pihole -r', and choose the 'install' option to reconfigure."
|
||||
echo "::: Please run 'pihole -r', and choose the 'reconfigure' option to reconfigure."
|
||||
exit 1
|
||||
fi
|
||||
|
||||
|
Reference in New Issue
Block a user