27,7 → 27,10 |
;; |
--on | -on) |
/usr/local/sbin/alcasar-logout.sh all |
/usr/bin/systemctl stop chilli |
for i in chilli |
do |
if (pgrep $i) > /dev/null ; then /usr/bin/systemctl stop $i.service ; fi |
done |
cp /etc/sysconfig/network-scripts/default-ifcfg-$INTIF /etc/sysconfig/network-scripts/ifcfg-$INTIF |
ifup $INTIF |
sh /usr/local/bin/alcasar-iptables-bypass.sh |
48,7 → 51,7 |
# activation of the "daemon-watchdog" every 18' |
cat << EOF > /etc/cron.d/alcasar-daemon-watchdog |
# activation du "chien de garde" (daemon-watchdog) toutes les 18' |
*/18 * * * * root /usr/local/bin/alcasar-daemon.sh > /dev/null 2>&1 |
*/18 * * * * root $DIR_DEST_BIN/alcasar-daemon.sh > /dev/null 2>&1 |
EOF |
echo "L'authentification et le filtrage sont actifs" |
echo "Authentication and filtering system are enabled" |