/scripts/sbin/alcasar-dg-pureip.sh |
---|
1,10 → 1,12 |
#/bin/sh |
#/bin/bash |
# alcasar-dg-pureip.sh |
# by Yohan & Rexy |
# by Yohan DUBANCHET and Richard REY |
# This script is distributed under the Gnu General Public License (GPL) |
# Gestion Dansguardian |
# Activation / désactivation du filtrage d'url contenant des adresse IP (et non des noms de domaine) |
# enable/disable filter of url that contains IP address (instead of domain names) |
SED="/bin/sed -i" |
function ip_disable (){ |
$SED "s/^\*ip$/#*ip/g" /etc/dansguardian/lists/bannedsitelist |