Subversion Repositories ALCASAR

Rev

Rev 2956 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log

Rev 2956 Rev 2965
Line 1... Line 1...
1
#!/bin/sh
1
#!/bin/sh
2
#
2
#
3
# $Id: alcasar-condown.sh 2956 2021-05-24 19:57:17Z rexy $
3
# $Id: alcasar-condown.sh 2965 2021-07-04 22:15:08Z rexy $
4
#
4
#
5
# alcasar-condown.sh
5
# alcasar-condown.sh
6
# by Rexy & Pierre RIVAULT
6
# by Rexy & Pierre RIVAULT
7
# This script is distributed under the Gnu General Public License (GPL)
7
# This script is distributed under the Gnu General Public License (GPL)
8
 
8
 
9
# This script is started by coova after each logout
9
# This script is started by coova after each logout
10
# Ce script est lancé par coova à chaque déconnexion d'usager
10
# Ce script est lancé par coova à chaque déconnexion d'usager
11
 
11
 
-
 
12
CONF_FILE="/usr/local/etc/alcasar.conf"
12
PASSWD_FILE="/root/ALCASAR-passwords.txt"
13
PASSWD_FILE="/root/ALCASAR-passwords.txt"
13
DB_USER=`cat $PASSWD_FILE|grep ^db_user=|cut -d'=' -f2`
14
DB_USER=`cat $PASSWD_FILE|grep ^db_user=|cut -d'=' -f2`
14
DB_PASSWORD=`cat $PASSWD_FILE|grep ^db_password=|cut -d'=' -f2`
15
DB_PASSWORD=`cat $PASSWD_FILE|grep ^db_password=|cut -d'=' -f2`
15
 
16
 
16
if [ -z $FRAMED_IP_ADDRESS ]; then
17
if [ -z $FRAMED_IP_ADDRESS ]; then