View | Details | Raw Unified | Return to bug 29895
Collapse All | Expand All

(-)a/systemd-tmpfiles.filetrigger (-1 / +5 lines)
Lines 1-8 Link Here
1
#!/bin/sh -e
1
#!/bin/sh -e
2
2
3
[ -L /proc/1/root ] || exit 0
4
5
rc=0
3
LC_ALL=C egrep -s '^/(lib|etc)/tmpfiles.d/.+\.conf' | sort -u |
6
LC_ALL=C egrep -s '^/(lib|etc)/tmpfiles.d/.+\.conf' | sort -u |
4
while read -r file; do
7
while read -r file; do
5
	if [ -f $file ]; then
8
	if [ -f $file ]; then
6
		systemd-tmpfiles --create $file
9
		systemd-tmpfiles --create $file || rc=1
7
	fi
10
	fi
8
done
11
done
12
exit $rc

Return to bug 29895