Deleted Added
full compact
rc.subr (197947) rc.subr (198162)
1# $NetBSD: rc.subr,v 1.67 2006/10/07 11:25:15 elad Exp $
1# $NetBSD: rc.subr,v 1.67 2006/10/07 11:25:15 elad Exp $
2# $FreeBSD: head/etc/rc.subr 197947 2009-10-10 22:17:03Z dougb $
2# $FreeBSD: head/etc/rc.subr 198162 2009-10-15 23:20:23Z dougb $
3#
4# Copyright (c) 1997-2004 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

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

611 quiet*) # "quiet" prefix; omit some messages
612 _rc_prefix=quiet
613 rc_arg=${rc_arg#${_rc_prefix}}
614 rc_quiet=yes
615 ;;
616 esac
617
618 eval _override_command=\$${name}_program
3#
4# Copyright (c) 1997-2004 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

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

611 quiet*) # "quiet" prefix; omit some messages
612 _rc_prefix=quiet
613 rc_arg=${rc_arg#${_rc_prefix}}
614 rc_quiet=yes
615 ;;
616 esac
617
618 eval _override_command=\$${name}_program
619 command=${command:+${_override_command:-$command}}
619 command=${_override_command:-$command}
620
621 _keywords="start stop restart rcvar $extra_commands"
622 rc_pid=
623 _pidcmd=
624 _procname=${procname:-${command}}
625
626 # setup pid check command
627 if [ -n "$_procname" ]; then

--- 1099 unchanged lines hidden ---
620
621 _keywords="start stop restart rcvar $extra_commands"
622 rc_pid=
623 _pidcmd=
624 _procname=${procname:-${command}}
625
626 # setup pid check command
627 if [ -n "$_procname" ]; then

--- 1099 unchanged lines hidden ---