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
 }
 
_______________________________________________
svn-src-head@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"

Reply via email to