Subversion Repositories ALCASAR

Compare Revisions

Ignore whitespace Rev 2897 → Rev 2898

/scripts/alcasar-bl.sh
97,8 → 97,9
$SED '/^#.*/d' $FILE_tmp # remove commented lines
$SED '/^\s*$/d' $FILE_tmp # remove empty lines
$SED '/[äâëêïîöôüû@,]/d' $FILE_tmp # remove line with "chelou" characters
# extract ip addresses for iptables.
# extract ip addresses and ip networks for iptables.
awk '/^([0-9]{1,3}\.){3}[0-9]{1,3}$/{print "add bl_ip_blocked " $0}' $FILE_tmp > $FILE_ip_tmp
awk '/^([0-9]{1,3}\.){3}[0-9]{1,3}\/[0-9]{1,2}$/{print "add bl_ip_blocked " $0}' $FILE_tmp >> $FILE_ip_tmp
# extract domain names for unbound.
$SED -n '/^\([0-9]\{1,3\}\.\)\{3\}[0-9]\{1,3\}/!p' $FILE_tmp
# Retrieve max Top Level Domain for domain name synthax
/scripts/alcasar-urpmi.sh
126,8 → 126,8
echo "Download the Linux kernel used by ALCASAR. Please wait ..."
fi
urpmi --auto --quiet $KERNEL
# Avoid downloading RPM which can cause some mistakes with ours
echo "/^wkhtmltopdf/" > /etc/urpmi/skip.list
# Remove some of our RPMs in order to avoid their update
urpme wkhtmltopdf
# download updated RPM in cache
if [ $Lang == "fr" ]
then