|
@ -1,4 +1,4 @@ |
|
|
# $OpenBSD: rc.subr,v 1.62 2012/08/13 10:10:07 ajacoutot Exp $ |
|
|
|
|
|
|
|
|
# $OpenBSD: rc.subr,v 1.63 2012/08/21 06:38:52 ajacoutot 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> |
|
@ -48,7 +48,7 @@ rc_start() { |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
rc_check() { |
|
|
rc_check() { |
|
|
pgrep -f "^${pexp}" >/dev/null |
|
|
|
|
|
|
|
|
pgrep -q -f "^${pexp}" |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
rc_reload() { |
|
|
rc_reload() { |
|
|