Fix behaviour of condrestart to be standard

See http://fedoraproject.org/wiki/Packaging:SysVInitScript#Required_Actions
This commit is contained in:
Phil Whineray 2013-06-23 11:44:51 +01:00
parent d3c1347152
commit 32cfc9a1a6

@ -6022,7 +6022,7 @@ case "${arg}" in
condrestart)
test ! -z "${1}" && test ${1} != "--" && softwarning "Arguments after parameter '${arg}' are ignored."
test -f "${FIREHOL_LOCK_DIR}/firehol" && exit 0
test -f "${FIREHOL_LOCK_DIR}/firehol" || exit 0
FIREHOL_MODE="START"
;;