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:
parent
1c7d3165e4
commit
0c866e1a31
@ -48,7 +48,7 @@ start()
|
|||||||
ebegin "Loading custom binary format handlers"
|
ebegin "Loading custom binary format handlers"
|
||||||
fmts=$(grep -hsv -e '^[#;]' -e '^[[:space:]]*$' \
|
fmts=$(grep -hsv -e '^[#;]' -e '^[[:space:]]*$' \
|
||||||
/run/binfmt.d/*.conf \
|
/run/binfmt.d/*.conf \
|
||||||
"/etc"/binfmt.d/*.conf \
|
@SYSCONFDIR@/binfmt.d/*.conf \
|
||||||
""/usr/lib/binfmt.d/*.conf)
|
""/usr/lib/binfmt.d/*.conf)
|
||||||
if [ -n "${fmts}" ]; then
|
if [ -n "${fmts}" ]; then
|
||||||
echo "${fmts}" > /proc/sys/fs/binfmt_misc/register
|
echo "${fmts}" > /proc/sys/fs/binfmt_misc/register
|
||||||
|
Loading…
Reference in New Issue
Block a user