when running `forcerestart', call the underlying `stop' and `start'

with the `force' prefix as well
This commit is contained in:
lukem 2000-11-05 23:48:14 +00:00
parent 5a55a6ac60
commit 9046e7c099
1 changed files with 3 additions and 3 deletions

View File

@ -1,4 +1,4 @@
# $NetBSD: rc.subr,v 1.26 2000/10/07 07:36:56 lukem Exp $
# $NetBSD: rc.subr,v 1.27 2000/11/05 23:48:14 lukem Exp $
#
# Copyright (c) 1997-2000 The NetBSD Foundation, Inc.
# All rights reserved.
@ -452,9 +452,9 @@ ${_user:+\"'}"
if ! eval $_precmd && [ -z "$_rc_force_run" ]; then
return 1
fi
( $0 stop )
( $0 ${_rc_force_run:+force}stop )
sleep 1
$0 start
$0 ${_rc_force_run:+force}start
;;