Install sudoer file

This commit is contained in:
Mcat12 2016-04-17 23:03:12 -04:00
parent d7abbbfac4
commit 09cdf5081c

View file

@ -636,6 +636,11 @@ installPiholeWeb() {
$SUDO cp /etc/.pihole/advanced/index.* /var/www/html/pihole/.
$SUDO echo " done!"
fi
# Install Sudoer file
echo -n "::: Installing sudoer file..."
$SUDO cp /etc/.pihole/advanced/pihole.sudo /etc/sudoers.d/pihole
$SUDO chmod 0440 /etc/sudoers.d/pihole
echo " done!"
}
installCron() {