Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 19 Jul 2012 22:33:13 +0000 (UTC)
From:      Devin Teske <dteske@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r238628 - head/etc/rc.d
Message-ID:  <201207192233.q6JMXDvn029242@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201207192233.q6JMXDvn029242>