Added an example of cron script to daily reload iptables

Signed-off-by: Gregory Colpart <reg@evolix.fr>
Cette révision appartient à :
Colin Darie 2011-03-25 19:08:45 +01:00 révisé par Gregory Colpart
Parent 821af4d12f
révision 44739ce82a

14
cron_minifirewall Fichier exécutable
Voir le fichier

@ -0,0 +1,14 @@
#!/bin/sh
# Put this file in /etc/cron.daily/ to reload the firewall
# to refresh ips resolutions
# Make sure this file is executable !
FIREWALL=/etc/init.d/minifirewall
if [ -x "$FIREWALL" ] ; then
$FIREWALL restart >/dev/null
fi
exit 0