svn commit: r193118 - head/etc

Doug Barton dougb at FreeBSD.org
Sat May 30 21:41:55 UTC 2009


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"


More information about the svn-src-head mailing list