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

Edward Tomasz Napierala trasz at FreeBSD.org
Tue Dec 1 16:42:41 UTC 2015


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
 }
 


More information about the svn-src-head mailing list