mirror of
https://github.com/pi-hole/pi-hole
synced 2024-12-23 07:18:07 +00:00
make folder so file can be deployed
This commit is contained in:
parent
1c53ad6876
commit
1e0666d1ef
@ -640,6 +640,7 @@ installPiholeWeb() {
|
|||||||
fi
|
fi
|
||||||
# Install Sudoer file
|
# Install Sudoer file
|
||||||
echo -n "::: Installing sudoer file..."
|
echo -n "::: Installing sudoer file..."
|
||||||
|
$SUDO mkdir -p /etc/sudoers.d/
|
||||||
$SUDO cp /etc/.pihole/advanced/pihole.sudo /etc/sudoers.d/pihole
|
$SUDO cp /etc/.pihole/advanced/pihole.sudo /etc/sudoers.d/pihole
|
||||||
$SUDO chmod 0440 /etc/sudoers.d/pihole
|
$SUDO chmod 0440 /etc/sudoers.d/pihole
|
||||||
echo " done!"
|
echo " done!"
|
||||||
|
Loading…
Reference in New Issue
Block a user