From d0cfb0e12d44ff84a074af7bc88cd8aafe67e4af Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=B4me=20Schneider?= Date: Fri, 22 Nov 2013 10:38:36 +0100 Subject: [PATCH] replace log_daemon_msg by log_action_msg --- eofirewall | 12 ++++++------ 1 file 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)