copy sudoers file

necessary for Web interface white/black list functionality.
This commit is contained in:
Jacob Salmela 2016-06-10 17:47:27 -05:00
parent a5d3022e9f
commit dc2a537f6b

View file

@ -466,6 +466,7 @@ installScripts() {
$SUDO chown "$USER":root /opt/pihole
$SUDO chmod u+srwx /opt/pihole
fi
$SUDO cp /etc/.pihole/advanced/pihole.sudo /etc/sudoers.d/pihole
$SUDO cp /etc/.pihole/gravity.sh /opt/pihole/gravity.sh
$SUDO cp /etc/.pihole/advanced/Scripts/chronometer.sh /opt/pihole/chronometer.sh
$SUDO cp /etc/.pihole/advanced/Scripts/whitelist.sh /opt/pihole/whitelist.sh