svn commit: r203194 - stable/7/etc/rc.d

Konstantin Belousov kib at FreeBSD.org
Sat Jan 30 15:00:34 UTC 2010


Author: kib
Date: Sat Jan 30 15:00:33 2010
New Revision: 203194
URL: http://svn.freebsd.org/changeset/base/203194

Log:
  MFC r202880:
  Do not check for existence of symlink source for the link action.
  
  Approved by:	re (bz)

Modified:
  stable/7/etc/rc.d/devfs
Directory Properties:
  stable/7/etc/   (props changed)

Modified: stable/7/etc/rc.d/devfs
==============================================================================
--- stable/7/etc/rc.d/devfs	Sat Jan 30 14:58:25 2010	(r203193)
+++ stable/7/etc/rc.d/devfs	Sat Jan 30 15:00:33 2010	(r203194)
@@ -44,7 +44,7 @@ read_devfs_conf()
 		while read action devicelist parameter; do
 			case "${action}" in
 			l*)	for device in ${devicelist}; do
-					if [ -c ${device} -a ! -e ${parameter} ]; then
+					if [ ! -e ${parameter} ]; then
 						ln -fs ${device} ${parameter}
 					fi
 				done


More information about the svn-src-stable mailing list