aboutsummaryrefslogtreecommitdiff
path: root/etc/rc.d/rctl
diff options
context:
space:
mode:
authorSimon J. Gerraty <sjg@FreeBSD.org>2014-04-28 07:50:45 +0000
committerSimon J. Gerraty <sjg@FreeBSD.org>2014-04-28 07:50:45 +0000
commit3b8f08459569bf0faa21473e5cec2491e95c9349 (patch)
tree80f45dd81ca716bcd7ca9674581e1fc40b93cd34 /etc/rc.d/rctl
parent9d2ab4a62d6733c45958627ac113bdbd818d1e2a (diff)
parentb2ba55951383498f252746f618d513139da06e8e (diff)
Notes
Diffstat (limited to 'etc/rc.d/rctl')
-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 4fa057998408..567436be9da6 100755
--- a/etc/rc.d/rctl
+++ b/etc/rc.d/rctl
@@ -15,7 +15,7 @@ stop_cmd="rctl_stop"
rctl_start()
{
- if [ -f /etc/rctl.conf ]; then
+ if [ -f ${rctl_rules} ]; then
while read var comments
do
case ${var} in
@@ -25,7 +25,7 @@ rctl_start()
rctl -a "${var}"
;;
esac
- done < /etc/rctl.conf
+ done < ${rctl_rules}
fi
}