Replace hard coded reference to /etc with @SYSCONFDIR@

I found a reference to "/etc" in the procfs script. This changes that
reference to @SYSCONFDIR@.
This commit is contained in:
William Hubbs 2012-02-16 13:02:41 -06:00
parent 1c7d3165e4
commit 0c866e1a31

View File

@ -48,7 +48,7 @@ start()
ebegin "Loading custom binary format handlers"
fmts=$(grep -hsv -e '^[#;]' -e '^[[:space:]]*$' \
/run/binfmt.d/*.conf \
"/etc"/binfmt.d/*.conf \
@SYSCONFDIR@/binfmt.d/*.conf \
""/usr/lib/binfmt.d/*.conf)
if [ -n "${fmts}" ]; then
echo "${fmts}" > /proc/sys/fs/binfmt_misc/register