diff options
author | Edward Tomasz Napierala <trasz@FreeBSD.org> | 2015-12-01 16:42:39 +0000 |
---|---|---|
committer | Edward Tomasz Napierala <trasz@FreeBSD.org> | 2015-12-01 16:42:39 +0000 |
commit | 0a2a3753ef2035f197e2f3e60f4acfb20dcb48d7 (patch) | |
tree | 9eac6328bf9a94dd6a1c356faec5ae0ed063eb11 /etc | |
parent | 34106634688af01880b831d5120c3d07837162ef (diff) | |
download | src-0a2a3753ef2035f197e2f3e60f4acfb20dcb48d7.tar.gz src-0a2a3753ef2035f197e2f3e60f4acfb20dcb48d7.zip |
Modify the rctl rc script to add multiple rules in a single run.
MFC after: 1 month
Sponsored by: The FreeBSD Foundation
Notes
Notes:
svn path=/head/; revision=291596
Diffstat (limited to 'etc')
-rwxr-xr-x | etc/rc.d/rctl | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/etc/rc.d/rctl b/etc/rc.d/rctl index 93b200d475e9..85c0c2086a5e 100755 --- a/etc/rc.d/rctl +++ b/etc/rc.d/rctl @@ -23,10 +23,10 @@ rctl_start() \#*|'') ;; *) - rctl -a "${var}" + echo "${var}" ;; esac - done < ${rctl_rules} + done < ${rctl_rules} | xargs rctl -a fi } |