aboutsummaryrefslogtreecommitdiff
path: root/init.d
diff options
context:
space:
mode:
authorWilliam Hubbs <w.d.hubbs@gmail.com>2017-10-09 15:54:06 -0500
committerWilliam Hubbs <w.d.hubbs@gmail.com>2017-10-09 15:54:06 -0500
commitefa9ba485d9328f780f3e60dc18339c75974c6c6 (patch)
treeda09a34429bb2f8b2c0bd6ffe4b079826a6bcfaa /init.d
parentd4ddd72701ff5533a1ba07b1da60806859c63d88 (diff)
init.d/sysfs.in: fix reference to RC_LIBEXECDIR
The sysfs init script referred to @LIBEXECDIR@ before this change, but it is better to refer to RC_LIBEXECDIR so that we get rid of a sed substitution.
Diffstat (limited to 'init.d')
-rw-r--r--init.d/sysfs.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/init.d/sysfs.in b/init.d/sysfs.in
index 23e8821c..892528ca 100644
--- a/init.d/sysfs.in
+++ b/init.d/sysfs.in
@@ -118,7 +118,7 @@ cgroup1_base()
fi
if ! mountinfo -q /sys/fs/cgroup/openrc; then
- local agent="@LIBEXECDIR@/sh/cgroup-release-agent.sh"
+ local agent="${RC_LIBEXECDIR}/sh/cgroup-release-agent.sh"
mkdir /sys/fs/cgroup/openrc
mount -n -t cgroup \
-o none,${sysfs_opts},name=openrc,release_agent="$agent" \