replace log_daemon_msg by log_action_msg

This commit is contained in:
Jérôme Schneider 2013-11-22 10:38:36 +01:00
parent f39de51a51
commit d0cfb0e12d
1 changed files with 6 additions and 6 deletions

View File

@ -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)