From owner-svn-src-all@FreeBSD.ORG Sat May 30 21:41:54 2009 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B2BBA1065692; Sat, 30 May 2009 21:41:54 +0000 (UTC) (envelope-from dougb@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id A14358FC0A; Sat, 30 May 2009 21:41:54 +0000 (UTC) (envelope-from dougb@FreeBSD.org) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.3/8.14.3) with ESMTP id n4ULfs2d019956; Sat, 30 May 2009 21:41:54 GMT (envelope-from dougb@svn.freebsd.org) Received: (from dougb@localhost) by svn.freebsd.org (8.14.3/8.14.3/Submit) id n4ULfs1F019955; Sat, 30 May 2009 21:41:54 GMT (envelope-from dougb@svn.freebsd.org) Message-Id: <200905302141.n4ULfs1F019955@svn.freebsd.org> From: Doug Barton Date: Sat, 30 May 2009 21:41:54 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r193118 - head/etc X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 30 May 2009 21:41:55 -0000 Author: dougb Date: Sat May 30 21:41:54 2009 New Revision: 193118 URL: http://svn.freebsd.org/changeset/base/193118 Log: Now that the last of the *.sh scripts are gone from the base, emit a warning if come across one. Modified: head/etc/rc.subr Modified: head/etc/rc.subr ============================================================================== --- head/etc/rc.subr Sat May 30 21:21:03 2009 (r193117) +++ head/etc/rc.subr Sat May 30 21:41:54 2009 (r193118) @@ -900,8 +900,8 @@ run_rc_script() eval unset ${_arg}_cmd ${_arg}_precmd ${_arg}_postcmd case "$_file" in - /etc/rc.d/*.sh) # run in current shell - set $_arg; . $_file + /etc/rc.d/*.sh) # no longer allowed in the base + warn "Ignoring old-style startup script $_file" ;; *[~#]|*.OLD|*.bak|*.orig|*,v) # scratch file; skip warn "Ignoring scratch file $_file"