summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWilliam Hubbs <williamh@gentoo.org>2012-02-16 13:02:41 -0600
committerWilliam Hubbs <williamh@gentoo.org>2012-02-16 13:59:47 -0600
commit0c866e1a313f20679f6b7d3288636170f3057b59 (patch)
treebd69d89e7964ab02ecde61a56c18bf40a398e29f
parent1c7d3165e4aa87d3939d892be9e71582c2aa8d52 (diff)
downloadopenrc-0c866e1a313f20679f6b7d3288636170f3057b59.tar.gz
openrc-0c866e1a313f20679f6b7d3288636170f3057b59.tar.bz2
openrc-0c866e1a313f20679f6b7d3288636170f3057b59.tar.xz
Replace hard coded reference to /etc with @SYSCONFDIR@
I found a reference to "/etc" in the procfs script. This changes that reference to @SYSCONFDIR@.
-rw-r--r--init.d/procfs.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/init.d/procfs.in b/init.d/procfs.in
index 8167ff9..6afc81f 100644
--- a/init.d/procfs.in
+++ b/init.d/procfs.in
@@ -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