mirror of
https://github.com/pi-hole/pi-hole.git
synced 2025-04-07 08:00:15 +00:00
remove a commit in whitelist
This commit is contained in:
parent
15d68467a1
commit
e1c56bcbfe
1 changed files with 0 additions and 2 deletions
|
@ -99,8 +99,6 @@ RemoveDomain(){
|
||||||
fi
|
fi
|
||||||
else
|
else
|
||||||
echo "$1" | sed 's/\./\\./g' | xargs -I {} perl -i -ne'print unless /'{}'(?!.)/;' ${whitelist}
|
echo "$1" | sed 's/\./\\./g' | xargs -I {} perl -i -ne'print unless /'{}'(?!.)/;' ${whitelist}
|
||||||
#reload gravity to pickup any entries this may have removed
|
|
||||||
pihole -g
|
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue