1
0
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:
Jacob Salmela 2016-06-10 18:51:38 -05:00
parent 1c53ad6876
commit 1e0666d1ef

View File

@ -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!"