mirror of
https://github.com/pi-hole/pi-hole
synced 2025-02-21 12:32:00 +00:00
Seriously.
This commit is contained in:
parent
bb6f409e89
commit
9c645e2010
@ -1414,7 +1414,7 @@ main() {
|
||||
if [[ $(grep 'WEBPASSWORD' -c /etc/pihole/setupVars.conf) == 0 ]] ; then
|
||||
pw=$(tr -dc _A-Z-a-z-0-9 < /dev/urandom | head -c 8)
|
||||
. /opt/pihole/webpage.sh
|
||||
echo "WEBPASSWORD=$(HashPassword ${1})"
|
||||
echo "WEBPASSWORD=$(HashPassword ${1})" >> ${setupVars}
|
||||
fi
|
||||
fi
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user