summaryrefslogtreecommitdiff
path: root/sh/tmpfiles.sh.in
diff options
context:
space:
mode:
authorWilliam Hubbs <w.d.hubbs@gmail.com>2012-10-21 14:45:45 -0500
committerWilliam Hubbs <w.d.hubbs@gmail.com>2012-10-21 14:52:37 -0500
commitee54bfef057284dc5684a18275fc491741732012 (patch)
tree45db5b6343f3d0ae04ed711e3d3e43c8f28d9d51 /sh/tmpfiles.sh.in
parent7279b469ec64a3486859d0f2ef28c2c610293ae3 (diff)
downloadopenrc-ee54bfef057284dc5684a18275fc491741732012.tar.gz
openrc-ee54bfef057284dc5684a18275fc491741732012.tar.bz2
openrc-ee54bfef057284dc5684a18275fc491741732012.tar.xz
tmpfiles: do not process systemd.conf
This file contains definitions specific to systemd, so we should not process it. Reported-by: <andrew.gregory.8@gmail.com>
Diffstat (limited to 'sh/tmpfiles.sh.in')
-rwxr-xr-xsh/tmpfiles.sh.in1
1 files changed, 1 insertions, 0 deletions
diff --git a/sh/tmpfiles.sh.in b/sh/tmpfiles.sh.in
index a341845..2486da2 100755
--- a/sh/tmpfiles.sh.in
+++ b/sh/tmpfiles.sh.in
@@ -201,6 +201,7 @@ tmpfiles_d=''
# `/run/tmpfiles/foo.conf' will always be read after `/etc/tmpfiles.d/bar.conf'
for d in ${tmpfiles_dirs} ; do
[ -d $d ] && for f in ${d}/*.conf ; do
+ [ "$f" = "$d/systemd.conf" ] && continue
[ -f $f ] && tmpfiles_basenames="${tmpfiles_basenames}\n${f##*/}"
done # for f in ${d}
done # for d in ${tmpfiles_dirs}