Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 28 Jun 2011 14:30:11 GMT
From:      dfilter@FreeBSD.ORG (dfilter service)
To:        freebsd-rc@FreeBSD.org
Subject:   Re: conf/157687: commit references a PR
Message-ID:  <201106281430.p5SEUBYH024540@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
The following reply was made to PR conf/157687; it has been noted by GNATS.

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: conf/157687: commit references a PR
Date: Tue, 28 Jun 2011 14:26:48 +0000 (UTC)

 Author: pluknet
 Date: Tue Jun 28 14:26:34 2011
 New Revision: 223644
 URL: http://svn.freebsd.org/changeset/base/223644
 
 Log:
   Run load_rc_config before stop_cmd definition, so that ${quotaoff_flags}
   is correctly expanded inside stop_cmd instead of getting nothing.
   
   PR:		conf/157687
   Reported by:	Dmitry Banschikov <d.banschikov peterhost ru>
   MFC after:	1 week
 
 Modified:
   head/etc/rc.d/quota
 
 Modified: head/etc/rc.d/quota
 ==============================================================================
 --- head/etc/rc.d/quota	Tue Jun 28 14:10:39 2011	(r223643)
 +++ head/etc/rc.d/quota	Tue Jun 28 14:26:34 2011	(r223644)
 @@ -14,6 +14,7 @@
  
  name="quota"
  rcvar=`set_rcvar`
 +load_rc_config $name
  start_cmd="quota_start"
  stop_cmd="/usr/sbin/quotaoff ${quotaoff_flags}"
  
 @@ -30,5 +31,4 @@ quota_start()
  	echo ' done.'
  }
  
 -load_rc_config $name
  run_rc_command "$1"
 _______________________________________________
 svn-src-all@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/svn-src-all
 To unsubscribe, send any mail to "svn-src-all-unsubscribe@freebsd.org"
 



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