pi-hole/advanced
ryt51V 9a68adf36f Big sudo refactor.
In general:
- Each script reruns itself as either root or pihole.  Any $SUDO variables are removed.
- Two new scripts are created that need to be run as root.
- The installer creates a file in sudoers.d that allows the pihole user to run the above two scripts as root.

piholeReloadServices.sh: Script to reload dnsmasq (or start it if required).

piholeSetPermissions.sh: Script to set the permissions on /etc/pihole

basic-install.sh:
- Copy two new scripts.
- Set owner and permissions on /etc/pihole
- Install the sudoers file to allow the pihole user to run certain scripts as root without a password.

uninstall.sh:
- Remote two new scripts.
- Remove sudoers file

gravity.sh:
- Rerun as pihole user.
- Use sudo for setting permissions and reloading services.
- Replaced chmod 777 with piholeSetPermissions.sh.

blacklist.sh, whitelist.sh: Rerun as pihole user.  Use sudo for reloading services.
chronometer.sh, piholeLogFlush.sh: Rerun as pihole user.

setupLCD.sh: Rerun as root.
2016-03-02 20:49:23 +00:00
..
GIFs Multiple gif files to choose from 2015-06-06 23:29:54 -05:00
Scripts Big sudo refactor. 2016-03-02 20:49:23 +00:00
01-pihole.conf Merge remote-tracking branch 'origin/development' 2016-01-31 20:47:10 +00:00
cmdline.txt consoleblank=0 2016-02-20 01:15:14 -06:00
console-setup file to set lcd font size 2016-01-23 11:48:12 -06:00
dnsmasq.conf.original Move dnsmasq.conf to dnsmasq.d/01-pihole.conf 2016-01-25 00:04:02 -05:00
dphys-swapfile Updated License 2016-01-30 15:12:40 -05:00
index.html preparing files for merge and for testing automated install 2015-06-16 11:15:15 -05:00
lighttpd.conf Updated License 2016-01-30 15:12:40 -05:00
pihole.cron Updated License 2016-01-30 15:12:40 -05:00