From 0c866e1a313f20679f6b7d3288636170f3057b59 Mon Sep 17 00:00:00 2001 From: William Hubbs Date: Thu, 16 Feb 2012 13:02:41 -0600 Subject: [PATCH] Replace hard coded reference to /etc with @SYSCONFDIR@ I found a reference to "/etc" in the procfs script. This changes that reference to @SYSCONFDIR@. --- init.d/procfs.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/init.d/procfs.in b/init.d/procfs.in index 8167ff95..6afc81f7 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