|
@ -1,4 +1,4 @@ |
|
|
# $OpenBSD: rc.subr,v 1.69 2013/04/04 06:50:44 zhuk Exp $ |
|
|
|
|
|
|
|
|
# $OpenBSD: rc.subr,v 1.70 2013/07/11 09:34:33 otto Exp $ |
|
|
# |
|
|
# |
|
|
# Copyright (c) 2010, 2011 Antoine Jacoutot <ajacoutot@openbsd.org> |
|
|
# Copyright (c) 2010, 2011 Antoine Jacoutot <ajacoutot@openbsd.org> |
|
|
# Copyright (c) 2010, 2011 Ingo Schwarze <schwarze@openbsd.org> |
|
|
# Copyright (c) 2010, 2011 Ingo Schwarze <schwarze@openbsd.org> |
|
@ -131,7 +131,7 @@ rc_cmd() { |
|
|
;; |
|
|
;; |
|
|
start) |
|
|
start) |
|
|
if [ X"${daemon_flags}" = X"NO" ]; then |
|
|
if [ X"${daemon_flags}" = X"NO" ]; then |
|
|
rc_err "$0: no $1 without -f, ${_name}_flags=NO" |
|
|
|
|
|
|
|
|
rc_err "$0: need -f to force $1 since ${_name}_flags=NO" |
|
|
exit 1 |
|
|
exit 1 |
|
|
fi |
|
|
fi |
|
|
[ -z "${INRC}" ] && rc_do rc_check && exit 0 |
|
|
[ -z "${INRC}" ] && rc_do rc_check && exit 0 |
|
|