Subversion Repositories ALCASAR

Rev

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

Rev 2771 Rev 2815
Line 1... Line 1...
1
#!/bin/bash
1
#!/bin/bash
2
# $Id: alcasar-daemon.sh 2771 2020-02-22 09:50:24Z rexy $
2
# $Id: alcasar-daemon.sh 2815 2020-05-03 22:10:04Z rexy $
3
 
3
 
4
# alcasar-daemon.sh
4
# alcasar-daemon.sh
5
# by Franck BOUIJOUX & Rexy
5
# by Franck BOUIJOUX & 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
# Watchdog of Services
7
# Watchdog of Services
Line 60... Line 60...
60
	echo "Restart this script to know if all is ok"
60
	echo "Restart this script to know if all is ok"
61
else
61
else
62
	echo "$nb_srv services needed by ALCASAR are started."
62
	echo "$nb_srv services needed by ALCASAR are started."
63
fi
63
fi
64
 
64
 
65
if [ `lsmod|grep ipt_NETFLOW|wc -l` == 0 ]
65
if [ `lsmod|grep ^ipt_NETFLOW|wc -l` == 0 ]
66
then
66
then
67
	logger -t alcasar-daemon -i "ipt_netflow is inactive."
67
	logger -t alcasar-daemon -i "ipt_netflow is inactive."
68
	echo "The Log system is disabled! try to know why (modprobe ipt_NETFLOW)"
68
	echo "The Log system is disabled! try to know why (modprobe ipt_NETFLOW)"
69
else
69
else
70
	echo "The Log system is active"
70
	echo "The Log system is active"