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
rc=0
3
LC_ALL=C egrep -s '^/(lib|etc)/tmpfiles.d/.+\.conf' | sort -u |
4
LC_ALL=C egrep -s '^/(lib|etc)/tmpfiles.d/.+\.conf' | sort -u |
4
while read -r file; do
5
while read -r file; do
5
	if [ -f $file ]; then
6
	if [ -f $file ]; then
6
		systemd-tmpfiles --create $file
7
		systemd-tmpfiles --create $file || rc=1
7
	fi
8
	fi
8
done
9
done
10
11
[ -d /proc/sys ] || exit 0
12
exit $rc

Return to bug 29895