118,7 → 118,7 |
sleep 2 |
echo "Configuration corrigée" |
sleep 2 |
echo "Vous pouvez relancer ce script (sh alcasar.sh -install)." |
echo "Vous pouvez relancer ce script (sh alcasar.sh --install)." |
exit 0 |
fi |
echo -n "." |
133,7 → 133,7 |
exit 0 |
fi |
echo -n "." |
# On test la connectivité Internet |
# On teste la connectivité Internet |
rm -rf /tmp/con_ok.html |
/usr/bin/curl www.google.fr -s -o /tmp/con_ok.html |
if [ ! -e /tmp/con_ok.html ] |
1032,7 → 1032,7 |
cat << EOF > /etc/dnsmasq.d/alcasar-dnsmasq.conf |
# Inclusion de la blacklist <domains> de Toulouse dans la configuration |
conf-dir=/usr/local/etc/alcasar-dnsfilter-enabled |
#conf-file=/usr/local/etc/alcasar-dns-name |
conf-file=/usr/local/etc/alcasar-dns-name # zone de definition de noms DNS locaux si besoin |
|
listen-address=$PRIVATE_IP |
listen-address=127.0.0.1 |