Deleted Added
full compact
rc.subr (184317) rc.subr (193118)
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 184317 2008-10-27 01:05:09Z thompsa $
2# $FreeBSD: head/etc/rc.subr 193118 2009-05-30 21:41:54Z 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

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

895 fi
896
897 unset name command command_args command_interpreter \
898 extra_commands pidfile procname \
899 rcvar required_dirs required_files required_vars
900 eval unset ${_arg}_cmd ${_arg}_precmd ${_arg}_postcmd
901
902 case "$_file" in
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

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

895 fi
896
897 unset name command command_args command_interpreter \
898 extra_commands pidfile procname \
899 rcvar required_dirs required_files required_vars
900 eval unset ${_arg}_cmd ${_arg}_precmd ${_arg}_postcmd
901
902 case "$_file" in
903 /etc/rc.d/*.sh) # run in current shell
904 set $_arg; . $_file
903 /etc/rc.d/*.sh) # no longer allowed in the base
904 warn "Ignoring old-style startup script $_file"
905 ;;
906 *[~#]|*.OLD|*.bak|*.orig|*,v) # scratch file; skip
907 warn "Ignoring scratch file $_file"
908 ;;
909 *) # run in subshell
910 if [ -x $_file ]; then
911 if [ -n "$rc_fast_and_loose" ]; then
912 set $_arg; . $_file

--- 686 unchanged lines hidden ---
905 ;;
906 *[~#]|*.OLD|*.bak|*.orig|*,v) # scratch file; skip
907 warn "Ignoring scratch file $_file"
908 ;;
909 *) # run in subshell
910 if [ -x $_file ]; then
911 if [ -n "$rc_fast_and_loose" ]; then
912 set $_arg; . $_file

--- 686 unchanged lines hidden ---