/usr/sbin/dbab-add-list is in dbab 1.3.2-1.
This file is owned by root:root, with mode 0o755.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 | #!/bin/sh
##-----------------------------------------------------------------------
## Porgram: dbab-add-list
## Purpose: Add your own entries to dnsmasq blocking list
## Authors: Tong Sun (c) 2013
## License: BSD license
##-----------------------------------------------------------------------
dbab_list=/etc/dbab/dbab.list+
dbabsvr_addr=`cat /etc/dbab/dbab.addr`
# Add the trash-sites to DNSmasq blocking
sed 's#^.*$#'"address=/&/$dbabsvr_addr#" $dbab_list > /etc/dnsmasq.d/dbab.trashsites.conf
echo File /etc/dnsmasq.d/dbab.trashsites.conf updated.
|