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)