Marcus Hildum
28eeaf201b
Standardize function declaration
...
There were no fewer than three styles of function declaration going
on in these files, so I attempted to standardize them to the typical
myfucn() {
}
style.
8 years ago
Promofaux
8c0f860601
Use systemctl/service calls instead of killall to restart/reload dnsmasq
8 years ago
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
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
08e6f60941
Update blacklist.sh
9 years ago
Mcat12
619082dbed
Merge branch 'development' into BugFix463
...
Conflicts:
advanced/Scripts/blacklist.sh
advanced/Scripts/whitelist.sh
9 years ago
Mayur Raiturkar
b58519b974
fixed helpFunc 1
9 years ago
Promofaux
ad574f5e90
Replace kill with killall
9 years ago
Promofaux
4941a657bf
remove -s switch, as it turns out it worked afterall.
9 years ago
Promofaux
3d4bff9414
Add -s switch to kill command to increase compatability
9 years ago
Adam Warner
4c890ab202
Add root check to blacklist script
9 years ago
Promofaux
48fa83c9ac
Fix whitespace
9 years ago
Promofaux
05e0003555
Fixes issue #453
9 years ago
Promofaux
ab99e80333
indent
9 years ago
Promofaux
8e04f1c03e
Remove clear in DisplayBlist and forse verbose to false to tidy up output.
9 years ago
Promofaux
c0aadeab3d
fix spelling in name of variable ($versbose -> $verbose)
9 years ago
Justin Theberge
9a4c5cef86
fix indentations
9 years ago
Justin Theberge
bdfc86f850
fix formatting
9 years ago
Justin Theberge
70dadfba28
add list options requested from issue#442
9 years ago
Adam Warner
391dea445a
Move help output to function, add -h argument
9 years ago
Promofaux
849185d3c9
Fix incorrect echo
9 years ago
Promofaux
4f08359786
Make blacklist honour pihole.conf file
9 years ago
nate
6eea9239a7
Merged branch development into PiHoleController
9 years ago
Mcat12
e97755eb91
Fix missing cats
9 years ago
nate
b80821c4b7
Merged branch development into PiHoleController
9 years ago
nate
cf01b5a002
Readded `cat` calls to fix permission issue
9 years ago
nate
fee55fa642
Added gravity.sh to the list of options
9 years ago
nate
76ea1962be
Controller script, pihole.sh added
...
Syntax changes for user output to be consistent
9 years ago
nate
f2150ee7e1
Merge conflict resolution
9 years ago
nate
2311b42bca
Merge branch 'ScriptCleanup-Dev'
...
Conflicts:
README.md
advanced/Scripts/blacklist.sh
advanced/Scripts/piholeDebug.sh
advanced/Scripts/whitelist.sh
automated install/basic-install.sh
gravity.sh
9 years ago
nate
a4fbccac9b
Merge conflict resolution
9 years ago
nate
a0cf93a7ca
Merge branch 'PiholeDebug'
...
Conflicts:
README.md
9 years ago
nate
8ef4c12f97
Merge branch 'ScriptCleanup'
...
Conflicts:
README.md
advanced/Scripts/blacklist.sh
advanced/Scripts/whitelist.sh
automated install/basic-install.sh
gravity.sh
9 years ago
nate
0b9e78df2c
Cleaned code and added prompt for purge on uninstall
9 years ago
Nate
b746250e71
Made all advanced/Scripts/ executable for consistency.
9 years ago
Carter Maxwell
f633d1fa5b
remove trailing whitespace blacklist.sh
9 years ago
Mcat12
48f9a61ff0
Updated License
9 years ago
Promofaux
8ecf8eb76c
output to match other scripts
9 years ago
Promofaux
414ef54cfe
Switched CRLF to LF (DOS to UNIX)
9 years ago
Promofaux
f9a2ca5c32
Tidy up help text on both scripts. Add quiet help.
9 years ago
Adam Warner
2b0bee085b
Incorrect reference to whitelist in the blacklist.sh comments :)
9 years ago
Adam Warner
89e3c25a90
Behaves like whitelist, but on the blacklist
9 years ago
Adam Warner
14ee4850af
Placeholder for blacklist script
9 years ago