summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJérôme Schneider <jschneider@entrouvert.com>2013-11-22 09:38:36 (GMT)
committerJérôme Schneider <jschneider@entrouvert.com>2013-11-22 09:38:36 (GMT)
commitd0cfb0e12d44ff84a074af7bc88cd8aafe67e4af (patch)
treed657b77585369c5de921424b3718429ec0622d2f
parentf39de51a51b3c20823c40f6c03ce0ef6479f217a (diff)
downloadeofirewall-d0cfb0e12d44ff84a074af7bc88cd8aafe67e4af.zip
eofirewall-d0cfb0e12d44ff84a074af7bc88cd8aafe67e4af.tar.gz
eofirewall-d0cfb0e12d44ff84a074af7bc88cd8aafe67e4af.tar.bz2
replace log_daemon_msg by log_action_msg
-rwxr-xr-xeofirewall12
1 files changed, 6 insertions, 6 deletions
diff --git a/eofirewall b/eofirewall
index 56d4e87..ed8cfd3 100755
--- a/eofirewall
+++ b/eofirewall
@@ -362,8 +362,8 @@ start()
load()
{
- log_daemon_msg "Loading old rules from /etc/network/iptables-save"
- log_daemon_msg "If you want to load new rules please use test and then start"
+ log_action_msg "Loading old rules from /etc/network/iptables-save"
+ log_action_msg "If you want to load new rules please use test and then start"
if [ -f /etc/network/iptables-save ]; then
iptables-restore < /etc/network/iptables-save
else
@@ -399,13 +399,13 @@ case "$1" in
test_rules || exit 1
;;
start)
- log_daemon_msg "WARNING: you are loading new rules you have 5 seconds to cancel (CRTL+C)"
- sleep 5
+ log_warning_msg "WARNING: you are loading new rules you have 3 seconds to cancel (CRTL+C)"
+ sleep 3
start || exit 1
;;
save)
- log_daemon_msg "You need to make a start before if you want to save new rules"
- log_daemon_msg "Saving current rules to /etc/network/iptables-save"
+ log_action_msg "You need to make a start before if you want to save new rules"
+ log_action_msg "Saving current rules to /etc/network/iptables-save"
iptables-save > /etc/network/iptables-save
;;
flush)