Deleted Added
full compact
rc.subr (151687) rc.subr (152519)
1# $NetBSD: rc.subr,v 1.60 2003/07/26 05:13:47 lukem Exp $
1# $NetBSD: rc.subr,v 1.60 2003/07/26 05:13:47 lukem Exp $
2# $FreeBSD: head/etc/rc.subr 151687 2005-10-26 04:32:31Z yar $
2# $FreeBSD: head/etc/rc.subr 152519 2005-11-16 10:45:19Z yar $
3#
4# Copyright (c) 1997-2002 The NetBSD Foundation, Inc.
5# All rights reserved.
6#
7# This code is derived from software contributed to The NetBSD Foundation
8# by Luke Mewburn.
9#
10# Redistribution and use in source and binary forms, with or without

--- 754 unchanged lines hidden (view full) ---

765 # prevent restart being called more
766 # than once by any given script
767 #
768 if ${_rc_restart_done:-false}; then
769 return 0
770 fi
771 _rc_restart_done=true
772
3#
4# Copyright (c) 1997-2002 The NetBSD Foundation, Inc.
5# All rights reserved.
6#
7# This code is derived from software contributed to The NetBSD Foundation
8# by Luke Mewburn.
9#
10# Redistribution and use in source and binary forms, with or without

--- 754 unchanged lines hidden (view full) ---

765 # prevent restart being called more
766 # than once by any given script
767 #
768 if ${_rc_restart_done:-false}; then
769 return 0
770 fi
771 _rc_restart_done=true
772
773 ( $0 ${_rc_prefix}stop $rc_extra_args )
774 $0 ${_rc_prefix}start $rc_extra_args
773 # run stop in a subshell to keep variables for start
774 ( run_rc_command ${_rc_prefix}stop $rc_extra_args )
775 run_rc_command ${_rc_prefix}start $rc_extra_args
775
776 if [ -n "$_postcmd" ]; then
777 eval $_postcmd $rc_extra_args
778 _return=$?
779 fi
780 ;;
781
782 poll)

--- 575 unchanged lines hidden ---
776
777 if [ -n "$_postcmd" ]; then
778 eval $_postcmd $rc_extra_args
779 _return=$?
780 fi
781 ;;
782
783 poll)

--- 575 unchanged lines hidden ---