ALT Linux repos
Group :: System/Configuration/Boot and Init
Main Changelog Spec Patches Sources Download Gear Bugs and FR Repocop #!/bin/sh -e
[ -L /proc/1/root ] || exit 0
rc=0
LC_ALL=C egrep -s '^/(lib|etc)/tmpfiles.d/.+\.conf' | sort -u |
while read -r file; do
if [ -f $file ]; then
systemd-tmpfiles --create $file || rc=1
fi
done
exit $rc