/blacklist/blacklists.tar.gz |
---|
Cannot display: file marked as a binary type. |
svn:mime-type = application/octet-stream |
/scripts/alcasar-conf.sh |
---|
333,13 → 333,18 |
EOF |
# Set hostname |
hostnamectl set-hostname $HOSTNAME.$DOMAIN |
# /etc/hosts |
domainNames="$HOSTNAME $HOSTNAME.$DOMAIN" |
[ "$HOSTNAME" != 'alcasar' ] && domainNames="alcasar $domainNames" |
$SED "/^$PRIVATE_IP\t/d" /etc/hosts |
$SED "/\s$HOSTNAME\s\$/d" /etc/hosts |
[ "$HOSTNAME" != 'alcasar' ] && $SED "/\salcasar\s\$/d" /etc/hosts |
echo "$PRIVATE_IP $domainNames" >> /etc/hosts |
# /etc/hosts (retriving local hostnames) |
cp /etc/hosts /tmp/hosts |
echo "127.0.0.1 localhost" > /etc/hosts |
echo "$PRIVATE_IP $HOSTNAME $HOSTNAME.$DOMAIN" >> /etc/hosts |
while read -r line |
do |
if ! echo $line | grep -E -q "^([0-9\.\t ]+alcasar( |$)|127\.0\.0)" |
then |
echo $line >> /etc/hosts |
fi |
done < /tmp/hosts |
rm -f /tmp/hosts |
# MOTD |
$SED "s@'https://\(.\+\)/acc'@'https://$HOSTNAME.$DOMAIN/acc'@" /etc/mageia-release |
# Lighttpd |
427,7 → 432,7 |
max-lease-time 43200; |
} |
EOF |
$DIR_BIN/alcasar-dns-local.sh -hosts_to_unbound # add local name resoution to unbound (forward & blackhole) |
$DIR_BIN/alcasar-dns-local.sh -hosts_to_unbound # add local name resolution to unbound (forward & blackhole) |
# tinyproxy |
$SED "s?^Listen.*?Listen $PRIVATE_IP?g" /etc/tinyproxy/tinyproxy.conf |
# DG + BL |
/scripts/alcasar-dns-local.sh |
---|
86,7 → 86,7 |
exit 1 |
else |
# removing if already exists |
$SED "/^$2\t$3/d" $LOCAL_HOSTNAME_FILE |
$SED "/^$2[ \t]*$3/d" $LOCAL_HOSTNAME_FILE |
# adding to the hosts file |
echo -e "$2\t$3" >> $LOCAL_HOSTNAME_FILE |
hosts_to_unbound |
99,7 → 99,7 |
echo "$usage" |
exit 1 |
else |
$SED "/^$2\t$3/d" $LOCAL_HOSTNAME_FILE |
$SED "/^$2[ \t]*$3/d" $LOCAL_HOSTNAME_FILE |
hosts_to_unbound |
restart_dns |
fi |
/scripts/alcasar-uninstall.sh |
---|
339,7 → 339,6 |
do |
echo -en "\n- $func " |
$func |
sleep 1 |
if [ $DEBUG_ALCASAR == "on" ] |
then |
echo -n " *** 'debug' : end of cleaning '$func' *** " |
/web/acc/alcasar-3.4-installation-en.pdf |
---|
Cannot display: file marked as a binary type. |
svn:mime-type = application/octet-stream |
Property changes: |
Deleted: svn:mime-type |
-application/octet-stream |
\ No newline at end of property |
/web/acc/alcasar-3.4-installation-fr.pdf |
---|
Cannot display: file marked as a binary type. |
svn:mime-type = application/octet-stream |
Property changes: |
Deleted: svn:mime-type |
-application/octet-stream |
\ No newline at end of property |
/web/acc/alcasar-3.5-installation-en.pdf |
---|
Cannot display: file marked as a binary type. |
svn:mime-type = application/octet-stream |
Property changes: |
Added: svn:mime-type |
+application/octet-stream |
\ No newline at end of property |
/web/acc/alcasar-3.5-installation-fr.pdf |
---|
Cannot display: file marked as a binary type. |
svn:mime-type = application/octet-stream |
Property changes: |
Added: svn:mime-type |
+application/octet-stream |
\ No newline at end of property |