From dc2a537f6bf4891008d69c5d97b6fa1641740c7a Mon Sep 17 00:00:00 2001 From: Jacob Salmela Date: Fri, 10 Jun 2016 17:47:27 -0500 Subject: [PATCH] copy sudoers file necessary for Web interface white/black list functionality. --- automated install/basic-install.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/automated install/basic-install.sh b/automated install/basic-install.sh index 8d6fde69..55f886b3 100755 --- a/automated install/basic-install.sh +++ b/automated install/basic-install.sh @@ -110,7 +110,7 @@ welcomeDialogs() { # Explain the need for a static address whiptail --msgbox --backtitle "Initating network interface" --title "Static IP Needed" "The Pi-hole is a SERVER so it needs a STATIC IP ADDRESS to function properly. - + In the next section, you can choose to use your current network settings (DHCP) or to manually edit them." $r $c } @@ -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