svn commit: r201370 - head/etc/rc.d

Doug Barton dougb at FreeBSD.org
Fri Jan 1 22:10:08 UTC 2010


Author: dougb
Date: Fri Jan  1 22:10:07 2010
New Revision: 201370
URL: http://svn.freebsd.org/changeset/base/201370

Log:
  s/named_confidr/named_confdir/ in the rndc.key check. The line in
  the command to create it was right, but the check was wrong, so it
  was getting created every time. Mea culpa.
  
  Submitted by:	oliver

Modified:
  head/etc/rc.d/named

Modified: head/etc/rc.d/named
==============================================================================
--- head/etc/rc.d/named	Fri Jan  1 20:55:11 2010	(r201369)
+++ head/etc/rc.d/named	Fri Jan  1 22:10:07 2010	(r201370)
@@ -183,8 +183,8 @@ named_prestart()
 	if [ -s "${named_confdir}/rndc.conf" ]; then
 		unset confgen_command
 	fi
-	if [ -s "${named_confidr}/rndc.key" ]; then
-		case `stat -f%Su ${named_confidr}/rndc.key` in
+	if [ -s "${named_confdir}/rndc.key" ]; then
+		case `stat -f%Su ${named_confdir}/rndc.key` in
 		root|$named_uid) ;;
 		*) $confgen_command ;;
 		esac


More information about the svn-src-all mailing list