/scripts/sbin/alcasar-bl.sh |
---|
99,6 → 99,7 |
if [ "$PARENT_SCRIPT" != "/usr/local/bin/alcasar-conf.sh" ] # on ne relance lors d'une install |
then |
service dansguardian restart |
service dnsmasq restart |
/usr/local/bin/alcasar-iptables.sh |
fi |
;; |
150,9 → 151,7 |
fi |
cp -f $DIR_DG_BL/ossi/domains $DIR_DNS_FILTER_AVAILABLE/ossi.conf |
$SED "s?.*?address=/&/$IP_RETOUR?g" $DIR_DNS_FILTER_AVAILABLE/ossi.conf |
service dnsmasq stop |
sleep 1 |
service dnsmasq start |
service dnsmasq restart |
;; |
*) |
echo "Argument inconnu :$1"; |