Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 1 Dec 2015 16:42:39 +0000 (UTC)
From:      Edward Tomasz Napierala <trasz@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r291596 - head/etc/rc.d
Message-ID:  <201512011642.tB1GgdR4014153@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: trasz
Date: Tue Dec  1 16:42:39 2015
New Revision: 291596
URL: https://svnweb.freebsd.org/changeset/base/291596

Log:
  Modify the rctl rc script to add multiple rules in a single run.
  
  MFC after:	1 month
  Sponsored by:	The FreeBSD Foundation

Modified:
  head/etc/rc.d/rctl

Modified: head/etc/rc.d/rctl
==============================================================================
--- head/etc/rc.d/rctl	Tue Dec  1 16:31:07 2015	(r291595)
+++ head/etc/rc.d/rctl	Tue Dec  1 16:42:39 2015	(r291596)
@@ -23,10 +23,10 @@ rctl_start()
 			\#*|'')
 				;;
 			*)
-				rctl -a "${var}"
+				echo "${var}"
 				;;
 			esac
-		done < ${rctl_rules}
+		done < ${rctl_rules} | xargs rctl -a
 	fi
 }
 



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