diff --git a/automated install/basic-install.sh b/automated install/basic-install.sh index 4c5afd86..c984c640 100755 --- a/automated install/basic-install.sh +++ b/automated install/basic-install.sh @@ -484,6 +484,7 @@ installScripts() { $SUDO cp /etc/.pihole/advanced/Scripts/setupLCD.sh /opt/pihole/setupLCD.sh $SUDO chmod 755 /opt/pihole/{gravity,chronometer,whitelist,blacklist,piholeLogFlush,updateDashboard,uninstall,setupLCD}.sh $SUDO cp /etc/.pihole/pihole /usr/local/bin/pihole + $SUDO chmod 755 /usr/local/bin/pihole $SUDO cp /etc/.pihole/advanced/bash-completion/pihole /etc/bash-completion.d/pihole $SUDO echo " done." } @@ -655,9 +656,8 @@ runGravity() { echo "::: Cleaning up previous install (preserving whitelist/blacklist)" $SUDO rm /etc/pihole/list.* fi - #Don't run as SUDO, this was causing issues echo "::: Running gravity.sh" - /opt/pihole/gravity.sh + $SUDO /opt/pihole/gravity.sh } setUser(){