Commit Graph

51 Commits (090fbd04afea455c0fcdfffc20e85d698cb099d4)

Author SHA1 Message Date
Promofaux 090fbd04af Remove ${SUDO} usages and root checks from scripts called by `pihole` command as they should not be called directly.
8 years ago
Promofaux b3e7619048 curly brackets all the variables!
8 years ago
diginc 5fb6c5b012 Making the whitelist re-block echo consistent with other WL/BL echos
8 years ago
diginc 3affa73257 Only re-block whitelist deletions if in adlists
8 years ago
bcambl 27a9642090 check for sudo via 'command -v' instead of dkpg-query
8 years ago
Mcat12 3fda2d9ac3 Fix helpfunc not found error
8 years ago
Jim Liu 10066209e7 Update whitelist.sh
8 years ago
Jim Liu 81fdfcba22 Update whitelist.sh
8 years ago
Mcat12 619082dbed Merge branch 'development' into BugFix463
8 years ago
Mayur Raiturkar 56ac04c48e fixed helpFunc 2
8 years ago
Promofaux ad574f5e90 Replace kill with killall
8 years ago
Promofaux 4941a657bf remove -s switch, as it turns out it worked afterall.
8 years ago
Promofaux 3d4bff9414 Add -s switch to kill command to increase compatability
8 years ago
Adam Warner 77f4126f9b add root check to whitelist script
8 years ago
Promofaux 48fa83c9ac Fix whitespace
8 years ago
Promofaux 05e0003555 Fixes issue #453
8 years ago
Promofaux 107e0404de Move `exit 1` outside of `if` block on verbose check to stop dnsmasq reloading
8 years ago
Promofaux 3154a378a6 Remove clear in DisplayWlist and force verbose to false to tidy up output.
8 years ago
Promofaux 6c87698f1a fix spelling in name of variable ($versbose -> $verbose)
8 years ago
Justin Theberge 9a4c5cef86 fix indentations
8 years ago
Justin Theberge bdfc86f850 fix formatting
8 years ago
Justin Theberge 70dadfba28 add list options requested from issue#442
8 years ago
Adam Warner e074c72130 Move help output to function helpFunc, add -h argument.
8 years ago
Promofaux 47cc757ed0 Fix incorrect echo
8 years ago
Promofaux 0bbfb323b1 make whitelist honour pihole.conf file
8 years ago
nate b80821c4b7 Merged branch development into PiHoleController
8 years ago
nate cf01b5a002 Readded `cat` calls to fix permission issue
8 years ago
nate fee55fa642 Added gravity.sh to the list of options
8 years ago
nate 76ea1962be Controller script, pihole.sh added
8 years ago
nate f2150ee7e1 Merge conflict resolution
8 years ago
nate 2311b42bca Merge branch 'ScriptCleanup-Dev'
8 years ago
nate a4fbccac9b Merge conflict resolution
8 years ago
nate 8ef4c12f97 Merge branch 'ScriptCleanup'
8 years ago
nate 0b9e78df2c Cleaned code and added prompt for purge on uninstall
8 years ago
Carter Maxwell ced0ae0d65 remove trailing whitespace whitelist.sh
8 years ago
Mcat12 48f9a61ff0 Updated License
8 years ago
Promofaux 3cd1a5b1d5 ... Helps if I add the changes to the repo file, and not the test file on my pi.
8 years ago
Promofaux dfcf9d133e Make output make a bit more sense
8 years ago
Promofaux f9a2ca5c32 Tidy up help text on both scripts. Add quiet help.
9 years ago
Adam Warner 5d842a7533 Merging
9 years ago
Adam Warner f68cf10efa Tidied up a couple of things
9 years ago
Adam Warner 534dbc9b6e added a quiet option for when the script is called by gravity. Less output = less confusion!
9 years ago
Adam Warner 8ad116fe7b Aiming to get whitelist.sh to run either standalone or to be called from gravity.sh. Initial commit
9 years ago
Jacob Salmela 57282cfe16 ugly hack to whitelist from the Web interface
9 years ago
Dan Schaper cb91b8f5fa Add copyright headers
9 years ago
Jacob Salmela 831322b8b2 replace file paths with variables
9 years ago
Jacob Salmela 573c1ef94f double bracket notation
9 years ago
Jacob Salmela a2cddda590 if whitelist.txt doesn't exist, create it
9 years ago
Nathan Jones deb48c124f Improve whitelisting script
9 years ago
Fourdee 52ef76d717 missed a few more /etc/host changes
9 years ago