Merge branch 'development'

Conflicts:
	automated install/uninstall.sh
This commit is contained in:
nate 2016-03-31 20:25:54 -05:00
commit 28f2a1309e
8 changed files with 29 additions and 17 deletions

6
advanced/Scripts/piholeDebug.sh Normal file → Executable file
View file

@ -118,7 +118,7 @@ function testNslookup {
### Check Pi internet connections ###
# Log the IP addresses of this Pi
IPADDR=$(ifconfig | perl -nle 's/dr:(\S+)/print $1/e')
IPADDR=$($SUDO ifconfig | perl -nle 's/dr:(\S+)/print $1/e')
echo "::: Writing local IPs to debug log"
echo "IP Addresses of this Pi:" >> $DEBUG_LOG
echo "$IPADDR" >> $DEBUG_LOG
@ -258,8 +258,8 @@ then
cat "$ADLISTSFILE" >> $DEBUG_LOG
echo >> $DEBUG_LOG
else
echo "No adlists.list file found!" >> $DEBUG_LOG
printf ":::\tNo adlists.list file found!\n"
echo "No adlists.list file found... using adlists.default!" >> $DEBUG_LOG
printf ":::\tNo adlists.list file found... using adlists.default!\n"
fi