Subversion Repositories ALCASAR

Compare Revisions

Ignore whitespace Rev 1569 → Rev 1570

/alcasar.sh
1407,14 → 1407,14
$SED "s?^my \$PORTSDBDIR =.*?my \$PORTSDBDIR = \"/var/log/netflow/porttracker\";?g" /tmp/nfsen-1.3.7/contrib/PortTracker/PortTracker.pm
# use of our conf file and init unit
cp $DIR_CONF/nfsen/nfsen.conf /tmp/nfsen-1.3.7/etc/
# Installation of nfsen
# Installation of nfsen (we change a little 'install.pl in order not to ask the user for the perl version)
DirTmp=$(pwd)
cd /tmp/nfsen-1.3.7/
/usr/bin/perl5 install.pl etc/nfsen.conf
/usr/bin/perl5 install.pl etc/nfsen.conf # to avoid a Perl mistake "Semaphore introuvable"
/usr/bin/perl install.pl etc/nfsen.conf
/usr/bin/perl install.pl etc/nfsen.conf # to avoid a Perl mistake "Semaphore introuvable"
# Create RRD DB for porttracker (only in it still doesn't exist)
cp /tmp/nfsen-1.3.7/contrib/PortTracker/PortTracker.pm /usr/share/nfsen/plugins/
cp /tmp/nfsen-1.3.7/contrib/PortTracker/PortTracker.php /var/www/html/acc/manager/nfsen/plugins/
cp contrib/PortTracker/PortTracker.pm /usr/share/nfsen/plugins/
cp contrib/PortTracker/PortTracker.php /var/www/html/acc/manager/nfsen/plugins/
if [ "$(ls -A "/var/log/netflow/porttracker" 2>&1)" = "" ]; then sudo -u apache nftrack -I -d /var/log/netflow/porttracker; else echo "RRD DB already exists"; fi
chmod -R 770 /var/log/netflow/porttracker
# nfsen unit for systemd
/conf/nfsen/nfsen-1.3.7.tar.gz
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
/web/acc/backup/sauvegarde.php
13,8 → 13,8
$Language = strtolower(substr(chop($Langue[0]),0,2));}
if ($Language == 'fr'){
$l_backups = "Sauvegarde";
$l_create_user_db_backup = "Sauvegarder la base active des usagers";
$l_traceability_backup = "Créer le fichier actif des traces";
$l_create_user_db_backup = "Créer le fichier de la base actuelle des usagers";
$l_traceability_backup = "Créer le fichier de traces de la semaine en cours";
$l_execute = "Exécuter";
$l_backup_files = "Fichiers disponibles pour archivage";
$l_firewall_log = "Journaux de traçabilité";
23,8 → 23,8
}
else {
$l_backups = "Backups";
$l_create_user_db_backup = "Save the active users database";
$l_traceability_backup = "Create the active traceability file";
$l_create_user_db_backup = "Create the current users database file";
$l_traceability_backup = "Create the traceability file of the current week";
$l_execute = "Execute";
$l_backup_files = "Archive backup files";
$l_firewall_log = "Traceability log files";
/web/index.php
124,7 → 124,7
$l_category = "catégorie :";
if ((isset ($user[4])) && ($user[4] == "0")) {
$l_logout_explain = "Aucune session de consultation Internet n'est actuellement ouverte sur votre système.";
$l_logout = "<a href=\"http://www.qwant.com\">Ouvrir une session Internet</a>";}
$l_logout = "<a href=\"http://www.google.com\">Ouvrir une session Internet</a>";}
else {
if ($user[5] != $user[0]) // authentication exception or not
{
164,7 → 164,7
$l_category = "categoria :";
if ((isset ($user[4])) && ($user[4] == "0")) {
$l_logout_explain = "Não há conexão de Internet aberta em seu computador, deseja conectar?";
$l_logout = "<a href=\"http://www.qwant.com\">Abrir uma conexão de Internet</a>";}
$l_logout = "<a href=\"http://www.google.com\">Abrir uma conexão de Internet</a>";}
else {
if ($user[5] != $user[0]) // authentication exception or not
{
204,7 → 204,7
$l_category = "category :";
if ((isset ($user[4])) && ($user[4] == "0")) {
$l_logout_explain = "No Internet consultation session is actualy open on your system";
$l_logout = "<a href=\"http://www.qwant.com\">Open an Internet session</a>";}
$l_logout = "<a href=\"http://www.google.com\">Open an Internet session</a>";}
else {
if ($user[5] != $user[0]) // authentication exception or not
{