148,6 → 148,14 |
unknown_os=`expr $unknown_os + 1` |
fi |
done |
if [ "$ARCH" == "i586" ] |
then |
if [ $Lang == "fr" ] |
then echo -n "Votre architecture matĂ©rielle doit ĂȘtre en 64bits" |
else echo -n "You hardware architecture must be 64bits" |
exit 0 |
fi |
fi |
IFS="$old" |
# Test if ALCASAR is already installed |
if [ -e $CONF_FILE ] |
1415,7 → 1423,6 |
[ -e /var/log/firewall/$log_type.log ] || echo "" > /var/log/firewall/$log_type.log |
cp -f $DIR_CONF/ulogd-sample.conf /etc/ulogd-$log_type.conf |
$SED "s?^group=.*?group=$nl?g" /etc/ulogd-$log_type.conf |
if [ "$ARCH" == "i586" ]; then $SED "s/lib64/lib/g" /etc/ulogd-$log_type.conf; fi |
cat << EOF >> /etc/ulogd-$log_type.conf |
[emu1] |
file="/var/log/firewall/$log_type.log" |