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.
This commit is contained in:
parent
d4ddd72701
commit
efa9ba485d
@ -118,7 +118,7 @@ cgroup1_base()
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
if ! mountinfo -q /sys/fs/cgroup/openrc; then
|
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
|
mkdir /sys/fs/cgroup/openrc
|
||||||
mount -n -t cgroup \
|
mount -n -t cgroup \
|
||||||
-o none,${sysfs_opts},name=openrc,release_agent="$agent" \
|
-o none,${sysfs_opts},name=openrc,release_agent="$agent" \
|
||||||
|
Loading…
Reference in New Issue
Block a user