Subversion Repositories ALCASAR

Rev

Rev 2881 | Rev 2884 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log

Rev 2881 Rev 2882
Line 1... Line 1...
1
#!/bin/bash
1
#!/bin/bash
2
#  $Id: alcasar.sh 2881 2020-11-09 22:49:19Z rexy $
2
#  $Id: alcasar.sh 2882 2020-11-15 17:15:06Z rexy $
3
 
3
 
4
# alcasar.sh
4
# alcasar.sh
5
# ALCASAR is a Free and open source NAC created by Franck BOUIJOUX (3abtux), Pascal LEVANT and Richard REY (Rexy)
5
# ALCASAR is a Free and open source NAC created by Franck BOUIJOUX (3abtux), Pascal LEVANT and Richard REY (Rexy)
6
# This script is distributed under the Gnu General Public License (GPL)
6
# This script is distributed under the Gnu General Public License (GPL)
7
#  team@alcasar.net
7
#  team@alcasar.net
Line 1106... Line 1106...
1106
pidfile=/run/chilli.pid
1106
pidfile=/run/chilli.pid
1107
[ -f \$CONFIG ] || {
1107
[ -f \$CONFIG ] || {
1108
	echo "\$CONFIG Not found"
1108
	echo "\$CONFIG Not found"
1109
	exit 0
1109
	exit 0
1110
}
1110
}
1111
current_users_file="/var/tmp/havp/current_users.txt"	# file containing active users
1111
current_users_file="/tmp/current_users.txt"	# file containing active users
1112
RETVAL=0
1112
RETVAL=0
1113
prog="chilli"
1113
prog="chilli"
1114
case \$1 in
1114
case \$1 in
1115
	start)
1115
	start)
1116
		if [ -f \$pidfile ] ; then
1116
		if [ -f \$pidfile ] ; then