|
|
@ -1,4 +1,4 @@ |
|
|
|
# $OpenBSD: rc.subr,v 1.114 2016/05/03 08:59:29 otto Exp $ |
|
|
|
# $OpenBSD: rc.subr,v 1.115 2016/08/31 08:47:11 ajacoutot Exp $ |
|
|
|
# |
|
|
|
# Copyright (c) 2010, 2011, 2014-2016 Antoine Jacoutot <ajacoutot@openbsd.org> |
|
|
|
# Copyright (c) 2010, 2011 Ingo Schwarze <schwarze@openbsd.org> |
|
|
@ -78,7 +78,7 @@ _rc_exit() { |
|
|
|
_rc_wait() { |
|
|
|
local _i=0 |
|
|
|
while [ $_i -lt ${daemon_timeout} ]; do |
|
|
|
case "$1" in |
|
|
|
case "$1" in |
|
|
|
reload|start) |
|
|
|
_rc_do rc_check && return 0 ;; |
|
|
|
stop) |
|
|
|