conf/157687: commit references a PR

dfilter service dfilter at FreeBSD.ORG
Tue Jun 28 14:30:11 UTC 2011


The following reply was made to PR conf/157687; it has been noted by GNATS.

From: dfilter at FreeBSD.ORG (dfilter service)
To: bug-followup at 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 at freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/svn-src-all
 To unsubscribe, send any mail to "svn-src-all-unsubscribe at freebsd.org"
 


More information about the freebsd-rc mailing list