diff --git a/automated install/basic-install.sh b/automated install/basic-install.sh index 3ff1ad6a..f4a16e51 100755 --- a/automated install/basic-install.sh +++ b/automated install/basic-install.sh @@ -493,6 +493,9 @@ installScripts() { cp /etc/.pihole/advanced/Scripts/piholeLogFlush.sh /usr/local/bin/piholeLogFlush.sh cp /etc/.pihole/advanced/Scripts/updateDashboard.sh /usr/local/bin/updateDashboard.sh chmod 755 /usr/local/bin/{gravity,chronometer,whitelist,blacklist,piholeReloadServices,piholeSetPermissions,piholeLogFlush,updateDashboard}.sh + + mkdir -p /usr/local/include/pihole + cp /etc/.pihole/advanced/Scripts/piholeInclude /usr/local/include/pihole/piholeInclude echo " done." } diff --git a/automated install/uninstall.sh b/automated install/uninstall.sh index adbd8cd5..96582e37 100644 --- a/automated install/uninstall.sh +++ b/automated install/uninstall.sh @@ -82,3 +82,4 @@ rm /usr/local/bin/piholeSetPermissions.sh rm /usr/local/bin/piholeLogFlush.sh rm /usr/local/bin/updateDashboard.sh rm -rf /etc/pihole/ +rm -rf /usr/local/include/pihole