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

Devin Teske dteske at FreeBSD.org
Thu Jul 19 22:33:14 UTC 2012


Author: dteske
Date: Thu Jul 19 22:33:13 2012
New Revision: 238628
URL: http://svn.freebsd.org/changeset/base/238628

Log:
  Fix syntax errors (s/:=/:-/).
  
  Reviewed by:	emaste (mentor)
  Approved by:	emaste (mentor)
  MFC after:	3 days

Modified:
  head/etc/rc.d/bgfsck
  head/etc/rc.d/named

Modified: head/etc/rc.d/bgfsck
==============================================================================
--- head/etc/rc.d/bgfsck	Thu Jul 19 20:38:03 2012	(r238627)
+++ head/etc/rc.d/bgfsck	Thu Jul 19 22:33:13 2012	(r238628)
@@ -17,7 +17,7 @@ stop_cmd=":"
 bgfsck_start()
 {
 	if [ -z "${rc_force}" ]; then
-		background_fsck_delay=${background_fsck_delay:=0}
+		background_fsck_delay=${background_fsck_delay:-0}
 	else
 		background_fsck_delay=0
 	fi

Modified: head/etc/rc.d/named
==============================================================================
--- head/etc/rc.d/named	Thu Jul 19 20:38:03 2012	(r238627)
+++ head/etc/rc.d/named	Thu Jul 19 22:33:13 2012	(r238628)
@@ -173,7 +173,7 @@ named_prestart()
 		warn 'named_pidfile: now determined from the conf file'
 	fi
 
-	command_args="-u ${named_uid:=root}"
+	command_args="-u ${named_uid:-root}"
 
 	if [ ! "$named_conf" = '/etc/namedb/named.conf' ]; then
 		case "$named_flags" in


More information about the svn-src-all mailing list