From efa9ba485d9328f780f3e60dc18339c75974c6c6 Mon Sep 17 00:00:00 2001 From: William Hubbs Date: Mon, 9 Oct 2017 15:54:06 -0500 Subject: 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. --- init.d/sysfs.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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" \ -- cgit v1.2.3