mirror of
https://github.com/pi-hole/pi-hole.git
synced 2024-11-15 02:42:58 +00:00
Permissions changed for /etc/pihole and cleaned up some output
This commit is contained in:
parent
4b0a7c2252
commit
7b8fa3b922
2 changed files with 4 additions and 4 deletions
|
@ -130,8 +130,8 @@ function gravity_collapse() {
|
||||||
# Will update later, needed for existing installs, new installs should
|
# Will update later, needed for existing installs, new installs should
|
||||||
# create this directory as non-root
|
# create this directory as non-root
|
||||||
$SUDO chmod 777 $piholeDir
|
$SUDO chmod 777 $piholeDir
|
||||||
find "$piholeDir" -type f -exec $SUDO chmod 666 {} \; & spinner $!
|
$SUDO chown root:root $piholeDir
|
||||||
echo "."
|
echo "..."
|
||||||
else
|
else
|
||||||
echo -n "::: Creating pihole directory..."
|
echo -n "::: Creating pihole directory..."
|
||||||
mkdir $piholeDir & spinner $!
|
mkdir $piholeDir & spinner $!
|
||||||
|
|
Loading…
Reference in a new issue