%endif
exit 0
+# On RHEL/CentOS 7 the static nodes aren't refreshed by default after
+# installing a package. This is the default behavior for Fedora.
+%posttrans
+%if 0%{?rhel} == 7 || 0%{?centos} == 7
+systemctl restart kmod-static-nodes
+systemctl restart systemd-tmpfiles-setup-dev
+udevadm trigger
+%endif
+
%preun
%if 0%{?_systemd}
%if 0%{?systemd_preun:1}