aboutsummaryrefslogtreecommitdiff
path: root/etc
diff options
context:
space:
mode:
authorEdward Tomasz Napierala <trasz@FreeBSD.org>2015-12-01 16:42:39 +0000
committerEdward Tomasz Napierala <trasz@FreeBSD.org>2015-12-01 16:42:39 +0000
commit0a2a3753ef2035f197e2f3e60f4acfb20dcb48d7 (patch)
tree9eac6328bf9a94dd6a1c356faec5ae0ed063eb11 /etc
parent34106634688af01880b831d5120c3d07837162ef (diff)
downloadsrc-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-xetc/rc.d/rctl4
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
}